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(); }
void Start() { this._hp = GetComponent<HpManage>(); ErrorLog.CheckComponentExist(this._hp, "HpManage", this.name); IgnorePercent = 0; }
// Use this for initialization void Start() { this._hp = GetComponent<HpManage>(); this._hp.Initial(DebugHp); }