Class CinemachineBrainEvents
This component will generate CinemachineBrain-specific events.
Inheritance
CinemachineBrainEvents
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
[AddComponentMenu("Cinemachine/Helpers/Cinemachine Brain Events")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineBrainEvents.html")]
public class CinemachineBrainEvents : CinemachineMixerEventsBase
Fields
Name | Description |
---|---|
Brain | This is the CinemachineBrain emitting the events. If null and the current GameObject has a CinemachineBrain component, that component will be used. |
BrainUpdatedEvent | This event will fire after the brain updates its Camera. This evenet will only fire if this component is attached to a CinemachineBrain. |
Methods
Name | Description |
---|---|
GetMixer() | Get the object being monitored. This is the object that will generate the events. |