Class CinemachineLocationWayPoints
Defines a world-space location coordinates, consisting of an array of waypoints, each of which has position, rotation, and activateObject settings.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Staging.Cinemachine
Syntax
public class CinemachineLocationWayPoints : MonoBehaviour
Properties
waypoints
List of waypoints
Declaration
public List<CinemachineLocationWayPoints.Waypoint> waypoints { get; set; }
Property Value
Type | Description |
---|---|
List<CinemachineLocationWayPoints.Waypoint> |
Methods
ActivateObject(Boolean, Int32)
Activate waypoint active object
Declaration
public void ActivateObject(bool activate, int index)
Parameters
Type | Name | Description |
---|---|---|
Boolean | activate | activate value. |
Int32 | index | waypoint index. |