Facebook.EditorFacebook.OnInit C# (CSharp) Method

OnInit() private method

private OnInit ( InitDelegate onInitComplete, string appId, bool cookie = false, bool logging = true, bool status = true, bool xfbml = false, string channelUrl = "", string authResponse = null, bool frictionlessRequests = false, Facebook hideUnityDelegate = null ) : IEnumerator
onInitComplete InitDelegate
appId string
cookie bool
logging bool
status bool
xfbml bool
channelUrl string
authResponse string
frictionlessRequests bool
hideUnityDelegate Facebook
return IEnumerator
        private IEnumerator OnInit(
            InitDelegate onInitComplete,
            string appId,
            bool cookie = false,
            bool logging = true,
            bool status = true,
            bool xfbml = false,
            string channelUrl = "",
            string authResponse = null,
            bool frictionlessRequests = false,
            Facebook.HideUnityDelegate hideUnityDelegate = null)
        {
            // wait until the native dialogs are loaded
            while (fb == null)
            {
                yield return null;
            }
            fb.Init(onInitComplete, appId, cookie, logging, status, xfbml, channelUrl, authResponse, frictionlessRequests, hideUnityDelegate);
            if (onInitComplete != null)
            {
                onInitComplete();
            }
        }