瀏覽代碼

Export bullet speed in godot editor

DricomDragon 3 年之前
父節點
當前提交
31cac6895e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      godot/scripts/Launcher.gd

+ 1 - 1
godot/scripts/Launcher.gd

@@ -9,7 +9,7 @@ enum State {
 	WAITING,
 }
 
-const BULLET_SPEED = 500.0
+export var BULLET_SPEED = 500.0
 
 var _ballScene = preload("res://scenes/Ball.tscn")