📜  godot var := x - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:48.883000             🧑  作者: Mango

代码示例1
Inferred types
In most cases you can let the compiler infer the type, using :=:

var health := 0 # The compiler will use the int type.