Beispiel #1
0
        override protected void OnAwake()
        {
            base.OnAwake();


            ITTDataCache.Instance.Initialize();
            FacebookWrapper.Initialize();

            Application.RegisterLogCallback(HandleException);
        }
Beispiel #2
0
    IEnumerator Start()
    {
        Debug.Log("Initializing FB");
        FacebookWrapper.Initialize();

        while (!FB.IsInitialized)
        {
            yield return(null);
        }

        Debug.Log("Starting login process");
        StartCoroutine(FBLoginProcess());
    }