|
|
@@ -65,6 +65,8 @@ public class Character : MonoBehaviour
|
|
|
public Rigidbody rb;
|
|
|
public Transform bodyTrans;
|
|
|
public BeSearchTrigger beSearchTrigger;
|
|
|
+ public BeHitTrigger beHitTrigger;
|
|
|
+ public GameObject bodyCollider;
|
|
|
public UIHP uiHp;
|
|
|
|
|
|
public CharacterState state;
|
|
|
@@ -77,6 +79,7 @@ public class Character : MonoBehaviour
|
|
|
|
|
|
public HpUpType hptp;
|
|
|
public bool isDie = false;
|
|
|
+ public bool isRevive;
|
|
|
public int totalHp = 100;
|
|
|
public int hp;
|
|
|
public List<AttackInfo> attack1Infos;
|