Преглед изворни кода

Export bullet speed in godot editor

DricomDragon пре 4 година
родитељ
комит
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")