public static void StopSDK() { if (!m_IsInitialized) { return; } ChirpPlugin.StopSDK(); m_IsInitialized = m_IsStarted = false; }
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; }