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

OnDestroyMatch() public method

Callback that happens when a NetworkMatch.DestroyMatch request has been processed on the server.

public OnDestroyMatch ( bool success, string extendedInfo ) : void
success bool Indicates if the request succeeded.
extendedInfo string A text description for the error if success is false.
return void
        public virtual void OnDestroyMatch(bool success, string extendedInfo)
        {
            if (LogFilter.logDebug)
            {
                object[] args = new object[] { success, extendedInfo };
                Debug.LogFormat("NetworkManager OnDestroyMatch Success:{0}, ExtendedInfo:{1}", args);
            }
        }