Documentation

Unity Engine

Download Unity

Unity Engine

worldSpace

Choose between world space or local space.
Read time 1 minuteLast updated 7 hours ago

Definition

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.