worldSpace
Choose between world space or local space.
Read time 1 minuteLast updated 6 days ago
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.