TransformUtilsGlobalToLocalVector Method |
Namespace:
TouchScript.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Vector3 GlobalToLocalVector(
Transform transform,
Vector3 global
)
Parameters
- transform
- Type: Transform
The transform. - global
- Type: Vector3
The global vector.
Return Value
Type:
Vector3Local vector in transform parent's coordinate system.
See Also