Quellcode durchsuchen

修改上升速度

wgl vor 6 Monaten
Ursprung
Commit
32c44ca8fb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      ActionTowerDefense/Assets/Scripts/Characters/MoveCharacter.cs

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Characters/MoveCharacter.cs

@@ -36,7 +36,7 @@ public class MoveCharacter : Character
     [FoldoutGroup("回升")][LabelText("最大高度")] public float maxFlyHeight;
     [FoldoutGroup("回升")][LabelText("最低高度")] public float minFlyHeight;
     float refspeed = 1;
-    [FoldoutGroup("回升")][LabelText("消耗时间")] public float flyUpTime;
+    [FoldoutGroup("回升")][LabelText("速度")][Range(0, 1)] public float flyUpTime;
     [HideInInspector]
     public int isAdjustHeight;