EarlyUpdateBrain
February 9, 2024 ยท View on GitHub
Namespace: Unity.TinyCharacterController.Core
Summary:
EarlyUpdateBrain is a class that inherits from EarlyUpdateBrainBase and performs character update processing within the Update method, which corresponds to the timing of frame updates.
Features and Operation:
- Synchronization with Frame Updates: Utilizes the
Updatemethod to execute character update processing at every frame update timing.
Methods
| Name | Function |
|---|---|
private void Update() | "Performs character update processing at the timing of frame updates." |
Additional Notes
EarlyUpdateBrainis used when there are specific update processes that need to be executed within theUpdatemethod, corresponding to each frame's update.- This class uses the
DefaultExecutionOrderattribute to set the execution order toOrder.EarlyUpdateBrain, ensuring it runs before otherUpdatemethods. - The
AddComponentMenu("")attribute ensures it does not appear in the editor's component menu.