Пример #1
0
 void Start()
 {
     busted = GameObject.Find("Main Camera").GetComponent <Busted>();
     if (!busted)
     {
         Debug.LogError("CoworkerAttention Busted not set.");
     }
 }
Пример #2
0
 public World()
 {
     drugsBoat     = new DrugsBoat(new Vector2(200, 150));
     policeStation = new PoliceStation();
     spawnPoint    = new Vector2(600, 580);
     policeStation.createBoat(new PoliceBoat(spawnPoint));
     dangerLevel = 1;
     busted      = new Busted(new Vector2(0, 0));
     bustedTime  = 0;
 }
Пример #3
0
 public Aggressive()
 {
     busted = new Busted(new Vector2(0, 0));
 }