This class is designed to control CinemachineBrains, letting you control their default blend values via events from any class
More...
This class is designed to control CinemachineBrains, letting you control their default blend values via events from any class
◆ Awake()
virtual void MoreMountains.CorgiEngine.CinemachineBrainController.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake we store our brain reference
◆ OnDisable()
virtual void MoreMountains.CorgiEngine.CinemachineBrainController.OnDisable |
( |
| ) |
|
|
protectedvirtual |
On disable we stop listening for events
◆ OnEnable()
virtual void MoreMountains.CorgiEngine.CinemachineBrainController.OnEnable |
( |
| ) |
|
|
protectedvirtual |
On enable we start listening for events
◆ OnMMEvent()
virtual void MoreMountains.CorgiEngine.CinemachineBrainController.OnMMEvent |
( |
MMCinemachineBrainEvent |
cinemachineBrainEvent | ) |
|
|
virtual |
When we get a brain event, we treat it
- Parameters
-
◆ SetDefaultBlendDuration()
virtual void MoreMountains.CorgiEngine.CinemachineBrainController.SetDefaultBlendDuration |
( |
float |
newDuration | ) |
|
|
virtual |
Changes the default blend duration for this brain to the one set in parameters
- Parameters
-
◆ _brain
CinemachineBrain MoreMountains.CorgiEngine.CinemachineBrainController._brain |
|
protected |
The documentation for this class was generated from the following file: