Ejemplo n.º 1
0
 public CatType(string verboseName, TypesOfCat race, Uniform speed, Uniform size)
 {
     this.verboseName = verboseName;
     this.race        = race;
     this.speed       = speed;
     this.size        = size;
 }
Ejemplo n.º 2
0
 void Awake()
 {
     race             = (TypesOfCat)Random.Range(0, 3);
     _worldController = transform.GetComponentInParent <WorldController>();
     _worldController.world.OnWorldReady += HandleWorldReady;
     gameObject.SetActive(false);
 }