Пример #1
0
 public void ClearMaiden()
 {
     Destroy(_maiden.gameObject);
     _maiden = null;
 }
Пример #2
0
 public void SetMaiden(Maiden maiden)
 {
     _maiden = maiden;
     _maiden.transform.SetParent(transform);
     _maiden.transform.position = transform.Find("maidenSpot").position;
 }