void SetPriestActor(PriestActor actor) { actor.transform.parent.gameObject.SetActive(true); if (NowPriest != null) { actor.Pos = NowPriest.Pos; } NowPriest = actor; }
//멤버 힐 하는 부분 public void MemberHeal() { PriestActor tempActor = PlayerManager.instance.GetNowPriest(); if (tempActor == null) { return; } Debug.Log("멤버 번호 : " + memberIndex + " - 힐링"); tempActor.havePriest.SkillActive(memberIndex); }
public override void EatItem() { PriestActor tempActor = PlayerManager.instance.GetNowPriest(); tempActor.havePriest.HealthChange(healItem.HealAmount); }