Adding this script to a trigger, volume box collider2D will make sure that any character that enters it with a CharacterGravity ability on itself will have its "reverse input when upside down" property set to false. This was created for the purposes of the FeaturesGravity demo but feel free to use it in your game if needed.
More...
Adding this script to a trigger, volume box collider2D will make sure that any character that enters it with a CharacterGravity ability on itself will have its "reverse input when upside down" property set to false. This was created for the purposes of the FeaturesGravity demo but feel free to use it in your game if needed.
◆ OnTriggerEnter2D()
virtual void MoreMountains.CorgiEngine.UncheckReverseGravityInput.OnTriggerEnter2D |
( |
Collider2D |
collider | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: