Ejemplo n.º 1
0
    public void Initial()
    {
        this._hp = GetComponent<HpManage>();
        ErrorLog.CheckComponentExist(this._hp, "HpManage", this.name);

        this._monsters = GetComponentInChildren<MonstersManage>();
        ErrorLog.CheckComponentExist(this._monsters, "MonstersManage", this.name);

        this._bullets = new List<GameObject>();
        this._skill = new List<SkillBase>();

        SetAttribute();
    }
Ejemplo n.º 2
0
 void Start()
 {
     this._hp = GetComponent<HpManage>();
     ErrorLog.CheckComponentExist(this._hp, "HpManage", this.name);
     IgnorePercent = 0;
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     this._hp = GetComponent<HpManage>();
     this._hp.Initial(DebugHp);
 }