World Space vs Local Space in Unity

Notes:

World Space vs Local Space in Unity:

Global space:
Each scene in Unity comes with its own coordinate system; which is called as global coordinate system or global space (scene or world space).

The global coordinate system or global space does not change i.e. origin, rotation and unit scale of global space does not change.

Local space:
Each game object in Unity comes with its own coordinate system; which is called as local coordinate system or local space (object or self space).

Based on the object’s position, rotation and scale its local coordinate system or local space changes i.e. origin, rotation and scale of local space changes.

Note:
We can transform a game object with respect to its local space or with respect to its global space.

Local / Global toggle button:
- switches the gizmo based on the local or global space