void Start() { flyStick = GameObject.Find("Flystick"); GUISynchronizer.Prepare(); started = false; if (NodeInformation.type.Equals("slave")) { QualitySettings.vSyncCount = 0; node = new Client(); } else { node = new Server(NodeInformation.numberOfSlaves); } }
void Start() { flyStick = GameObject.Find("Flystick"); GUISynchronizer.Prepare(); started = false; if (!NodeInformation.isMaster()) { QualitySettings.vSyncCount = 0; node = new Client(); } else { node = new Server(NodeInformation.developmentMode ? 0 : NodeInformation.slaves.Count); } }