コード例 #1
0
        void Reset()
        {
            MeshSyncRuntimeSettings runtimeSettings = MeshSyncRuntimeSettings.GetOrCreateSettings();

            m_config     = MeshSyncRuntimeSettings.CreatePlayerConfig(MeshSyncPlayerType.SERVER);
            m_serverPort = runtimeSettings.GetDefaultServerPort();
        }
コード例 #2
0
        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);
        }
コード例 #3
0
//----------------------------------------------------------------------------------------------------------------------

        #region Events
#if UNITY_EDITOR
        void Reset()
        {
            m_config = MeshSyncRuntimeSettings.CreatePlayerConfig(MeshSyncPlayerType.CACHE_PLAYER);
        }