private IEnumerator GameEndCorout() { yield return(new WaitForSeconds(endAnim.length + 1)); onlineManager.Disconnect(); Destroy(onlineManager.gameObject); SceneTransi.ToExecute exe = LoadLobby; SceneTransi.Instance.Transi(true, exe); }
private IEnumerator GameEndCorout() { yield return(new WaitForSeconds(endAnim.length + 1)); onlineManager.Disconnect(); Destroy(onlineManager.gameObject); SceneTransi.ToExecute exe = LoadLobby; SceneTransi.Instance.Transi(true, exe); }