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