Area3D that notifies the RallyRushGameMode that the player has exited the game when hit by the CarPlayer. Only if the player has found exactly 3 keys.
More...
#include <exit_trigger.hpp>
Area3D that notifies the RallyRushGameMode that the player has exited the game when hit by the CarPlayer. Only if the player has found exactly 3 keys.
◆ _bind_methods()
void godot::ExitTrigger::_bind_methods |
( |
| ) |
|
|
staticprivate |
Required to be a valid godot class.
◆ _enter_tree()
void godot::ExitTrigger::_enter_tree |
( |
| ) |
|
|
overridevirtual |
Connect body_entered observer.
◆ body_entered()
void godot::ExitTrigger::body_entered |
( |
Node3D * |
node | ) |
|
If the entered body is a CarPlayer and the player has found 3 keys, notify the RallyRushGameMode that the player finished the game.
◆ GDCLASS()
The documentation for this class was generated from the following files: