Exemple #1
0
 public void initializeStatus()
 {
     Debug.Log("추가스텟 로딩");
     additionalStatus = GameObject.FindGameObjectWithTag("GameManager").GetComponent <AdditionalStatus>();
     Debug.Log("추가스텟 공격 " + additionalStatus.getAdditionalDamage());
     loadWholeStatus(this.tag);
 }
Exemple #2
0
    //스텟을 초기화합니다.
    void Start()
    {
        if (this.tag == "Player")
        {
            isPlayer = true;
        }
        else
        {
            isPlayer = false;
        }

        itemDMG  = 0;
        itemStun = 0;

        additionalStatus = GameObject.FindGameObjectWithTag("GameManager").GetComponent <AdditionalStatus>();

        loadWholeStatus(this.tag);

        Debug.Log(this.tag + "evil:" + evil);
    }