ドキュメント

Unity Engine

Unity Engine

worldSpace

Choose between world space or local space.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool worldSpace

Remarks

If set, the position and rotation provided to the method will be treated as world space. If no position and rotation are passed, the world position and rotation of the instance will match the world position and rotation of the orignal. Similarly, if not set, the position and rotation provided to the method will be treated as local space. If no position and rotation are passed, the local position and rotation of the instance will match the local position and rotation of the orignal.