void Start() { if (Server == null) { Server = FindObjectOfType <LANNetworkManager>(); } //Server.playerPrefab = PlayerPrefab; }
void Awake() { Server = GetComponent <LANNetworkManager>(); }