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

+ 1 - 1
ActionTowerDefense/Assets/Resources/Prefab/Player.prefab

@@ -965,7 +965,7 @@ MonoBehaviour:
   isTransfiguration: 0
   moveVec: {x: 0, y: 0}
   reviveTime: 0
-  totalReviveTime: 0
+  totalReviveTime: 10
   isBaseBtnOut: 0
   isClickBtnJump: 0
   isClickBtnRush: 0

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

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