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.