// Use this for initialization void Start() { amyModel = HumanoidStore.GetAmyModel(); chanionModel = HumanoidStore.GetChanionModel(); enemiesModels = HumanoidStore.GetEnemiesModels(); enemyMarkers = EnemyMarkerStore.GetEnemyMarkers(); }
void Start() { humanoidSubscribers.Add(HumanoidStore.GetAmyModel()); humanoidSubscribers.Add(HumanoidStore.GetChanionModel()); foreach (AIHumanoidModel enemy in HumanoidStore.GetEnemiesModels()) { humanoidSubscribers.Add(enemy); } }
void Start() { amyTarget = HumanoidStore.GetAmyModel(); enemyMarkerLocations.ForEach(m => { EnemyMarker newMarker = new EnemyMarker(amyTarget, m.position, null); targeters.ForEach(t => { CommunicatableEnemyMarker newCMarker = new CommunicatableEnemyMarker( newMarker, 5 ); t.AddEnemyMarker(newCMarker); }); }); }