EarlyFixedUpdateBrain
February 9, 2024 ยท View on GitHub
Namespace: Unity.TinyCharacterController.Core
Summary:
EarlyFixedUpdateBrain is a class that inherits from EarlyUpdateBrainBase and performs character update processing within the FixedUpdate method, which is the timing for physics updates.
Features and Operation:
- Synchronization with Physics Updates: Utilizes the
FixedUpdatemethod to execute character update processing in sync with the physics calculations.
Methods
| Name | Function |
|---|---|
private void FixedUpdate() | "Performs character update processing at the time of physics updates." |
Additional Notes
EarlyFixedUpdateBrainis used when specific update processes need to be executed withinFixedUpdateto synchronize with Unity's physics system.- This class uses the
DefaultExecutionOrderattribute to set the execution order toOrder.EarlyUpdateBrain, ensuring it runs before otherFixedUpdatemethods. - The
AddComponentMenu("")attribute ensures it does not appear in the editor's component menu.