protected void OnApplicationQuit() { #if UNITY_WSA_10_0 && !UNITY_EDITOR ServerFinder_Hololens.KillThreads(); #else ServerFinder.KillThreads(); #endif }
/// <summary> /// Attempts to connect to the specified Room Name on start, and adds MeshDisplay component /// for displaying the Room Mesh /// </summary> public override void Start() { base.Start(); #if UNITY_EDITOR ////UWB_Texturing.Menu.InstantiateRoom(); //UWB_Texturing.BundleHandler.InstantiateRoom(Config.Current.AssetBundle.CompileAbsoluteAssetPath(UWB_Texturing.Config.AssetBundle.RawPackage.CompileFilename())); #endif ServerFinder.ServerStart(); SocketServer_PC.Start(); }