Class CinemachineTriggerAction
A multi-purpose script which causes an action to occur when a trigger collider is entered and exited.
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
public class CinemachineTriggerAction : MonoBehaviour
Fields
Name | Description |
---|---|
m_LayerMask | Only triggers generated by objects on these layers will be considered. |
m_OnObjectEnter | What action to take when an eligible object enters the collider or trigger zone |
m_OnObjectExit | What action to take when an eligible object exits the collider or trigger zone |
m_Repeating | Repeat the action for all subsequent trigger entries |
m_SkipFirst | Skip this many trigger entries before taking action |
m_WithTag | If set, only triggers generated by objects with this tag will be considered |
m_WithoutTag | Triggers generated by objects with this tag will be ignored |