void Start() { Application.runInBackground = true; _networkView = GetComponent <NetworkView>(); _config = GameObject.Find("Main").GetComponent <ConfigProperties>(); _draw = GameObject.Find("Main").GetComponent <Draw>(); _slicer = GameObject.Find("Main").GetComponent <Slicer>(); _otherSlices = GameObject.Find("Main").GetComponent <OtherSlices>(); port = _config.port; serverAddress = _config.address; peerType = _config.networkPeerType; if (peerType == ASSPeerType.server) { Network.InitializeServer(16, port, false); } else { Network.Connect(serverAddress, port); } _userID = _config.userID; }