Method MoveCameraRig
MoveCameraRig(Vector3, Vector3?)
Method for moving the camera rig
Declaration
void MoveCameraRig(Vector3 position, Vector3? viewDirection = null)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | Target position |
Vector3? | viewDirection | Target view direction in the XZ plane. Y component will be ignored |