UnityEngine.Networking.NetworkManager.StartMatchMaker C# (CSharp) Method

StartMatchMaker() public method

This starts MatchMaker for the NetworkManager.

public StartMatchMaker ( ) : void
return void
        public void StartMatchMaker()
        {
            if (LogFilter.logDebug)
            {
                Debug.Log("NetworkManager StartMatchMaker");
            }
            this.SetMatchHost(this.m_MatchHost, this.m_MatchPort, this.m_MatchPort == 0x1bb);
        }

Usage Example

コード例 #1
0
ファイル: Networking.cs プロジェクト: EduardoU24/GGJ2016
    void Start() {
        manager = GetComponent<NetworkManager>();
        manager.dontDestroyOnLoad = true;

        manager.StartMatchMaker();
        Debug.Log(GetType().BaseType);
    }
All Usage Examples Of UnityEngine.Networking.NetworkManager::StartMatchMaker