public override void OnAwake() { base.OnAwake(); if (!string.IsNullOrEmpty(this.GruopAIGridType.Value)) { this._gridEntry = AIData.GetGroupAIGridEntry(this.GruopAIGridType.Value); } }
public override void OnAwake() { if (!string.IsNullOrEmpty(this.GruopAIGridType.Value)) { this.monster = base.GetComponent <BaseMonoMonster>(); this._minions = this.MinionDict.Value; if (this._minions == null) { this._minions = new Dictionary <int, BaseMonoEntity>(); this.MinionDict.Value = this._minions; } this._minionConfigLs = AIData.GetGroupAIGridEntry(this.GruopAIGridType.Value).Minions; } }