Answers for "gdscript set variable types"

2

godot declare variable type

To declare a variable's type, use <variable>: <type>:

var health: int = 0
Posted by: Guest on December-26-2020

Browse Popular Code Answers by Language