mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
11 lines
193 B
Python
11 lines
193 B
Python
from godot import exposed
|
|
from godot.bindings import Node, OS
|
|
|
|
|
|
@exposed
|
|
class Main(Node):
|
|
def _ready(self):
|
|
# Exit godot
|
|
OS.set_exit_code(0)
|
|
self.get_tree().quit()
|