Пример #1
0
    void SetPriestActor(PriestActor actor)
    {
        actor.transform.parent.gameObject.SetActive(true);

        if (NowPriest != null)
        {
            actor.Pos = NowPriest.Pos;
        }

        NowPriest = actor;
    }
Пример #2
0
    //멤버 힐 하는 부분
    public void MemberHeal()
    {
        PriestActor tempActor = PlayerManager.instance.GetNowPriest();

        if (tempActor == null)
        {
            return;
        }

        Debug.Log("멤버 번호 : " + memberIndex + " - 힐링");

        tempActor.havePriest.SkillActive(memberIndex);
    }
Пример #3
0
    public override void EatItem()
    {
        PriestActor tempActor = PlayerManager.instance.GetNowPriest();

        tempActor.havePriest.HealthChange(healItem.HealAmount);
    }