예제 #1
0
 public void Start()
 {
     netStarter = GameObject.Find("NetworkStarter").GetComponent <NetworkStarter>();
     if (playerPrefab == null)
     {
         playerPrefab = GameObject.Find("PlayerPrefab");
     }
     this.playerPrefab.SetActive(true);
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     netStarter = GameObject.Find("NetworkStarter").GetComponent <NetworkStarter>();
 }
예제 #3
0
 public void Start()
 {
     base.Start();
     starter = GameObject.Find("NetworkStarter").GetComponent <NetworkStarter>();
 }