示例#1
0
        public static void StopSDK()
        {
            if (!m_IsInitialized)
            {
                return;
            }

            ChirpPlugin.StopSDK();
            m_IsInitialized = m_IsStarted = false;
        }
示例#2
0
    public void ChirpStopSDK()
    {
        HideErrorMessage();
        try {
            ChirpPlugin.StopSDK();
        } catch (System.Exception ex) {
            ErrorText.text = ex.Message;
            return;
        }

        StartButton.interactable  = true;
        StopButton.interactable   = false;
        SendButton.interactable   = false;
        MessageInput.interactable = false;
    }