override protected void OnAwake() { base.OnAwake(); ITTDataCache.Instance.Initialize(); FacebookWrapper.Initialize(); Application.RegisterLogCallback(HandleException); }
IEnumerator Start() { Debug.Log("Initializing FB"); FacebookWrapper.Initialize(); while (!FB.IsInitialized) { yield return(null); } Debug.Log("Starting login process"); StartCoroutine(FBLoginProcess()); }