TransformUtils Methods |
The TransformUtils type exposes the following members.
Name | Description | |
---|---|---|
GetHeirarchyPath |
Returns the string path of the transform in the hierarchy, i.g. "GameObject/ChildGameObject".
| |
GlobalToLocalDirection |
Converts a global direction of a transform to local direction in its parent's coordinate system.
| |
GlobalToLocalPosition |
Converts a global position of a transform to local position in its parent's coordinate system.
| |
GlobalToLocalVector |
Converts a global vector of a transform to local vector in its parent's coordinate system. The difference from GlobalToLocalDirection(Transform, Vector3) is that this vector has length.
|