示例#1
0
    public void OKCloseOnLineTalk()
    {
        exitOnlineTalk.AlphaPlayBackward();
        GetComponent <CanveGroupFade>().AlphaPlayBackward();

        remoteManger.DisConnect();

        appBridge.Unity2App("unityCloseRemote");
        Debug.Log("unityCloseRemote");
        GlobalDebug.Addline("unityCloseRemote");
    }
示例#2
0
    IEnumerator FinishOnLineTalk_IE()
    {
        yield return(new WaitForSeconds(0.3f));

        remoteManger.DisConnect();
        yield return(new WaitForSeconds(0.2f));

        if (!hasFinishExitOnlineTalk)
        {
            appBridge.Unity2App("unityCloseRemote", "0");
            string logStr = "unityCloseRemote";
            Debug.Log(logStr);
            GlobalDebug.Addline(logStr);
            hasFinishExitOnlineTalk = true;
        }
    }