コード例 #1
0
        private bool OnActivated(string s)
        {
#if DEBUG_UDL
            Debug.Log("[UDL - DeepLinkManager] Calling callbacks");
#endif
            LinkActivation la      = CreateLinkActivation(s);
            var            handler = _activated;
            if (handler != null)
            {
                try
                {
                    handler(la);
                }
                catch (Exception e)
                {
                    Debug.LogError("*ERROR* - DeepLinkManager LinkActivated handler throw an exception");
                    Debug.LogException(e);

                    if (Debug.isDebugBuild)
                    {
                        throw;
                    }
                }
                return(true);
            }

#if DEBUG_UDL
            Debug.Log("[UDL - DeepLinkManager] No callbacks found");
#endif

            return(false);
        }
コード例 #2
0
    private void Instance_LinkActivated(ImaginationOverflow.UniversalDeepLinking.LinkActivation s)
    {
        m_bLoggedInAndroid = true;

        /* m_LoadingText.GetComponent<UnityEngine.UI.Text>().text = s.Uri;// "Link opened";
         * m_LoadingBack.SetActive(true);
         * m_LoadingText.SetActive(true);*/

        loginSuccessful(s.Uri);
        //Debug.Log("Url: " + s.Uri);
    }
コード例 #3
0
    private void Instance_LinkActivated(ImaginationOverflow.UniversalDeepLinking.LinkActivation s)
    {
        jsonString = UnityWebRequest.UnEscapeURL(s.QueryString["data"]);

        Initialize();
    }