GetDefaultServerPort() private method

private GetDefaultServerPort ( ) : ushort
return ushort
Exemplo n.º 1
0
        void Reset()
        {
            MeshSyncProjectSettings projectSettings = MeshSyncProjectSettings.GetOrCreateSettings();

            m_config     = new MeshSyncServerConfig(projectSettings.GetDefaultServerConfig());
            m_serverPort = projectSettings.GetDefaultServerPort();
        }
Exemplo n.º 2
0
        void Reset()
        {
            MeshSyncProjectSettings projectSettings = MeshSyncProjectSettings.GetOrCreateSettings();

            m_config     = MeshSyncProjectSettings.CreatePlayerConfig(MeshSyncPlayerType.SERVER);
            m_serverPort = projectSettings.GetDefaultServerPort();
        }