Add this component to a trigger zone, and it'll override the CharacterHorizontalMovement settings for all characters that cross it
More...
Add this component to a trigger zone, and it'll override the CharacterHorizontalMovement settings for all characters that cross it
◆ OnTriggerEnter2D()
virtual void MoreMountains.CorgiEngine.CharacterHorizontalMovementOverride.OnTriggerEnter2D |
( |
Collider2D |
collider | ) |
|
|
protectedvirtual |
Triggered when something collides with the override zone
- Parameters
-
collider | Something colliding with the override zone. |
◆ OnTriggerExit2D()
virtual void MoreMountains.CorgiEngine.CharacterHorizontalMovementOverride.OnTriggerExit2D |
( |
Collider2D |
collider | ) |
|
|
protectedvirtual |
Triggered when something exits the water
- Parameters
-
collider | Something colliding with the water. |
◆ _previousMovementSpeed
float MoreMountains.CorgiEngine.CharacterHorizontalMovementOverride._previousMovementSpeed |
|
protected |
◆ MovementSpeed
float MoreMountains.CorgiEngine.CharacterHorizontalMovementOverride.MovementSpeed = 8f |
The documentation for this class was generated from the following file: