Class CinemachineDollyCart
This is a very simple behaviour that constrains its transform to a CinemachinePath.
It can be used to animate any objects along a path, or as a Follow target for
Cinemachine Virtual Cameras.
상속된 멤버
네임스페이스: Cinemachine
어셈블리: solution.dll
구문
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
public class CinemachineDollyCart : MonoBehaviour
필드
이름 | 설명 |
---|---|
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 |