void Awake() { city = FindObjectOfType <City> (); leftPanel = FindObjectOfType <LeftPanel> (); breedingManager = FindObjectOfType <BreedingManager> (); crimeManager = FindObjectOfType <CrimeManager> (); }
public void Initialise(Hero hero, Tile tile) { base.Initialise(tile, hero.movementDelay); crimeManager = FindObjectOfType <CrimeManager> (); unitManager = FindObjectOfType <UnitManager> (); this.hero = hero; heroState = HeroState.Patrol; }
public void Initialise(Villain villain, Tile tile) { base.Initialise(tile, villain.movementDelay); crimeManager = FindObjectOfType <CrimeManager> (); unitManager = FindObjectOfType <UnitManager> (); this.villain = villain; villainState = VillainState.Planning; }
void Awake() { crimeManager = FindObjectOfType <CrimeManager> (); }