Struct CinemachineTriggerAction.ActionSettings
Defines what action to take on trigger enter/exit
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[Serializable]
public struct CinemachineTriggerAction.ActionSettings
Constructors
Name | Description |
---|---|
ActionSettings(Mode) | Constructor |
Fields
Name | Description |
---|---|
m_Action | What action to take |
m_BoostAmount | If PriorityBoost, this amount will be added to the virtual camera's priority |
m_Event | This event will be invoked |
m_Mode | How to interpret the start time |
m_StartTime | If playing a timeline, start at this time |
m_Target | The target object on which to operate. If null, then the current behaviour/GameObject will be used |
Methods
Name | Description |
---|---|
Invoke() | Invoke the action. Depending on the mode, different action will be performed. The embedded event will always be invoked, in addition to the action specified by the Mode. |