Explorar o código

修复飞行怪一起下桥问题

WGL hai 4 meses
pai
achega
0add615f81
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ActionTowerDefense/Assets/Scripts/Characters/Enemy.cs

+ 1 - 0
ActionTowerDefense/Assets/Scripts/Characters/Enemy.cs

@@ -333,6 +333,7 @@ public class Enemy : MoveCharacter
                         transform.rotation = targetQt;
                     }
                     rb.velocity = velocity;
+                    AdjustHeight();
                 }
                 break;
             case CharacterState.Rush: