Class CinemachineDollyCart
This is a deprecated component. Use CinemachineSplineCart instead.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[Obsolete("CinemachineDollyCart has been deprecated. Use CinemachineSplineCart instead.")]
[ExecuteAlways]
[DisallowMultipleComponent]
[AddComponentMenu("")]
public class CinemachineDollyCart : MonoBehaviour
Fields
| Name | Description |
|---|---|
| m_Path | The path to follow |
| m_Position | The cart's current position on the path, in distance units |
| m_PositionUnits | How to interpret the Path Position |
| m_Speed | Move the cart with this speed |
| m_UpdateMethod | When to move the cart, if Velocity is non-zero |