public static IEnumerator Init() { while (!WebServerConnectManager.Instance) { yield return(null); } WebServerConnectManager.onWebServerResult += Instance.OnWebServerResult; yield return(Instance.StartCoroutine(Instance.ServerConnect())); isInitialized = true; }