Beispiel #1
0
        public static void StartSDK()
        {
            if (m_IsStarted || !m_IsInitialized)
            {
                return;
            }

            ChirpPlugin.StartSDK();
            m_IsStarted = true;
        }
Beispiel #2
0
    public void ChirpStartSDK()
    {
        HideErrorMessage();
        try {
            ChirpPlugin.StartSDK();
        } catch (System.Exception ex) {
            ErrorText.text = ex.Message;
            return;
        }

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