Эх сурвалжийг харах

解除变身后状态空中行走,无限跳跃bug

LAPTOP-OM1V99U2\永远de小亡灵 1 жил өмнө
parent
commit
f6cbefe62f

+ 1 - 0
ActionTowerDefense/Assets/Scripts/PlayerController.cs

@@ -1392,6 +1392,7 @@ public class PlayerController : MoveCharacter
         mp -= costMp;
         mp -= costMp;
         uiMp.Show(mp, totalMp);
         uiMp.Show(mp, totalMp);
         bodyTrans.gameObject.SetActive(false);
         bodyTrans.gameObject.SetActive(false);
+        foot.trigGroundList.Clear();
         spiritObj = PoolManager.Instantiate(prefab);
         spiritObj = PoolManager.Instantiate(prefab);
         Demonic dem = spiritObj.GetComponent<Demonic>();
         Demonic dem = spiritObj.GetComponent<Demonic>();
         dem.id = id;
         dem.id = id;