Method Teleport
Teleport(Vector3, Quaternion, Vector3)
Teleport the transform to the given values without interpolating
Declaration
public void Teleport(Vector3 newPosition, Quaternion newRotation, Vector3 newScale)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | newPosition | |
Quaternion | newRotation | |
Vector3 | newScale | new scale to scale to. |
Exceptions
Type | Condition |
---|---|
Exception |