简单的玩家控制器
This commit is contained in:
@@ -14,5 +14,9 @@ func initialize_steam() -> void:
|
||||
print("Did Steam initialize?: %s" % initialize_response)
|
||||
|
||||
if initialize_response['status'] > Steam.STEAM_API_INIT_RESULT_OK:
|
||||
print("Failed to initialize Steam: %s" % initialize_response)
|
||||
if OS.has_feature("editor"):
|
||||
# 编辑器内调试时 Steam 未必在运行,不退出,方便单独调试玩法
|
||||
return
|
||||
print("Failed to initialize Steam, shutting down: %s" % initialize_response)
|
||||
get_tree().quit()
|
||||
|
||||
Reference in New Issue
Block a user