GetDefaultServerPort() private méthode

private GetDefaultServerPort ( ) : ushort
Résultat ushort
Exemple #1
0
        void Reset()
        {
            MeshSyncProjectSettings projectSettings = MeshSyncProjectSettings.GetOrCreateSettings();

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

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