private void Awake() { instance = this; AndroidWrapper.Initialize(); menuInstance.OpenListMenu(); if (!AndroidWrapper.IsAuthorizationSuccess()) { WriteError(AndroidWrapper.I.GetJaveExeption()); } }
private void Start() { if (AndroidWrapper.IsAuthorizationSuccess()) { headerText.text = "Token = " + AndroidWrapper.I.GetToken() + " ID = " + AndroidWrapper.I.GetAppID(); } else { startButton.gameObject.SetActive(false); } }