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