// Execute END command public bool DoEnd() { Debug.Log("END request via chat command"); ReturnTo(String.Format("manual match END request by {0}", senderEntry.name)); NetworkMatch.End(); return(false); }
// Delayed end game public static IEnumerator DelayedEndMatch() { yield return(new WaitForSecondsRealtime(3)); NetworkMatch.End(); }