// Use this for initialization void Start() { hasBeenSelected = 0; canBeSelected = true; cObject = gameObject.GetComponent <Creature>(); spawner = GameObject.FindGameObjectWithTag("spawner").GetComponent <SpawnCreatures>(); }
// Use this for initialization void Start() { hasBeenSelected = 0; canBeSelected = true; cObject = gameObject.GetComponent<Creature>(); spawner = GameObject.FindGameObjectWithTag("spawner").GetComponent<SpawnCreatures>(); }