Пример #1
0
 // Use this for initialization
 void Start()
 {
     amyModel      = HumanoidStore.GetAmyModel();
     chanionModel  = HumanoidStore.GetChanionModel();
     enemiesModels = HumanoidStore.GetEnemiesModels();
     enemyMarkers  = EnemyMarkerStore.GetEnemyMarkers();
 }
Пример #2
0
 void Start()
 {
     humanoidSubscribers.Add(HumanoidStore.GetAmyModel());
     humanoidSubscribers.Add(HumanoidStore.GetChanionModel());
     foreach (AIHumanoidModel enemy in HumanoidStore.GetEnemiesModels())
     {
         humanoidSubscribers.Add(enemy);
     }
 }
Пример #3
0
 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);
         });
     });
 }