소스 검색

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

LAPTOP-OM1V99U2\永远de小亡灵 1 년 전
부모
커밋
f6cbefe62f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ActionTowerDefense/Assets/Scripts/PlayerController.cs

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

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