void Reset() { MeshSyncRuntimeSettings runtimeSettings = MeshSyncRuntimeSettings.GetOrCreateSettings(); m_config = MeshSyncRuntimeSettings.CreatePlayerConfig(MeshSyncPlayerType.SERVER); m_serverPort = runtimeSettings.GetDefaultServerPort(); }
void Reset() { m_cacheFilePath.isDirectory = false; m_cacheFilePath.readOnly = true; m_cacheFilePath.showRootSelector = true; m_config.Logging = false; m_config = MeshSyncRuntimeSettings.CreatePlayerConfig(MeshSyncPlayerType.CACHE_PLAYER); }
//---------------------------------------------------------------------------------------------------------------------- #region Events #if UNITY_EDITOR void Reset() { m_config = MeshSyncRuntimeSettings.CreatePlayerConfig(MeshSyncPlayerType.CACHE_PLAYER); }