Deozaan

Godot Code Order Template

Apr 19th, 2021 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #tool
  2. #class_name MyClass
  3. extends %BASE%
  4. # Class description here
  5.  
  6. # Signals
  7. # Enums
  8. # Constants
  9. # Exported Variables
  10. # Public Variables
  11. # Private Variables
  12. # Onready Variables
  13.  
  14.  
  15. # Built-in _init() and _ready() methods
  16.  
  17. #func _init() -> void: # Class Constructor (also similar to Unity's Awake())
  18. #func _ready() -> void: # Similar to Unity's Start() method
  19.  
  20.  
  21. # Remaining built-in virtual methods
  22.  
  23. #func _process(delta) -> void: # Similar to Unity's Update() method
  24. #func _physics_process(delta) -> void: # Similar to Unity's FixedUpdate() method
  25. #func _input(event) -> void:
  26. #func _unhandled_input(event) -> void: # Any input not captured by GUI, etc.
  27. #func _unhandled_key_input(event) -> void:
  28.  
  29.  
  30. # Public Methods
  31. # Private Methods
  32.  
Add Comment
Please, Sign In to add comment