Class CinemachineBrainEvents
This component will generate CinemachineBrain-specific events.
Inheritance
CinemachineBrainEvents
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
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: Unity.Cinemachine.dll
Syntax
[AddComponentMenu("Cinemachine/Helpers/Cinemachine Brain Events")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/CinemachineBrainEvents.html")]
public class CinemachineBrainEvents : CinemachineMixerEventsBase
Fields
Brain
This is the CinemachineBrain emitting the events. If null and the current GameObject has a CinemachineBrain component, that component will be used.
Declaration
[Tooltip("This is the CinemachineBrain emitting the events. If null and the current GameObject has a CinemachineBrain component, that component will be used.")]
public CinemachineBrain Brain
Field Value
Type | Description |
---|---|
CinemachineBrain |
BrainUpdatedEvent
This event will fire after the brain updates its Camera. This evenet will only fire if this component is attached to a CinemachineBrain.
Declaration
[Tooltip("This event will fire after the brain updates its Camera.")]
public CinemachineCore.BrainEvent BrainUpdatedEvent
Field Value
Type | Description |
---|---|
CinemachineCore.BrainEvent |
Methods
GetMixer()
Get the object being monitored. This is the object that will generate the events.
Declaration
protected override ICinemachineMixer GetMixer()
Returns
Type | Description |
---|---|
ICinemachineMixer | The ICinemachineMixer object that is the origin of the events. |