📜  godot 语言 void 关键字 - 任何代码示例

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

代码示例1
func foo() -> void:
    pass
func bar():
    pass
var result = some_object.foo()
print(str(result)) # will print "Null"
result = bar()
print(str(result)) # will print "Null" again