コード例 #1
0
ファイル: GetNpc.cs プロジェクト: ten0t10-0/office-space-game
 void Awake()
 {
     serve = FindObjectOfType <ServeCustomer> ();
 }
コード例 #2
0
 // Use this for initialization
 void Awake()
 {
     serve   = FindObjectOfType <ServeCustomer> ();
     shopMan = FindObjectOfType <ShopManagerClass> ();
     spawner = FindObjectOfType <AiSpawnManager> ();
 }