Browse Source

死亡复活后重置isBaseBtnOut值

LAPTOP-OM1V99U2\永远de小亡灵 1 năm trước cách đây
mục cha
commit
c4a459a2b5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      ActionTowerDefense/Assets/Scripts/PlayerController.cs

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

@@ -1392,6 +1392,7 @@ public class PlayerController : MoveCharacter
     public void PlayerRevive()
     {
         isRevive = false;
+        isBaseBtnOut = false;
         bodyTrans.gameObject.SetActive(true);
         uiHp.transform.parent.gameObject.SetActive(true);
         rb.constraints = RigidbodyConstraints.FreezePositionZ | RigidbodyConstraints.FreezeRotation;