Ejemplo n.º 1
0
 void Hide()
 {
     hiding = true;
     critter.sprite.gameObject.SetActive(false);
     critter.transform.position = hidingPlaceT.position;
     hidingPlace = hidingPlaceT.GetComponent <HidingPlace>();
     hidingPlace.AddCritter(critter);
 }