Пример #1
0
 void Awake()
 {
     serve = FindObjectOfType <ServeCustomer> ();
 }
Пример #2
0
 // Use this for initialization
 void Awake()
 {
     serve   = FindObjectOfType <ServeCustomer> ();
     shopMan = FindObjectOfType <ShopManagerClass> ();
     spawner = FindObjectOfType <AiSpawnManager> ();
 }