Answers for "specify variable type in godot"

2

godot declare variable return type

To declare the return type of a function, use -> <type>:

func heal(amount: int) -> void:
Posted by: Guest on December-26-2020

Browse Popular Code Answers by Language