Пример #1
0
 public void SetPet(GameObject pet)
 {
     this.pet    = pet;
     petInteract = pet.GetComponent <PetGenericInteract> ();
 }
Пример #2
0
	public void SetPet(GameObject pet) {
		this.pet = pet;
		petInteract = pet.GetComponent<PetGenericInteract> ();
	}