Explorar el Código

修复飞行怪一起下桥问题

WGL hace 4 meses
padre
commit
0add615f81
Se han modificado 1 ficheros con 1 adiciones y 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: