public void Stop() { if (!m_IsPlaying) { return; } NRRgbCamera.OnImageUpdate -= OnFrameUpdated; InternalUpdater.Instance.OnUpdate -= UpdateTexture; NRRgbCamera.Stop(); m_IsPlaying = false; }
public void Stop() { if (!m_IsInitilized) { return; } NRRgbCamera.UnRegist(this); this.Pause(); NRRgbCamera.Stop(); GameObject.Destroy(m_texture); m_texture = null; m_IsInitilized = false; }
public void Stop() { if (!m_IsInitilized) { return; } NRRgbCamera.UnRegist(this); NRRgbCamera.Stop(); this.Pause(); this.OnStopped(); FrameCount = 0; m_IsPlaying = false; m_IsInitilized = false; }
/** * @brief Stop rgb camera. */ public void Stop() { NRRgbCamera.Stop(); StopCoroutine("RefreshTex"); }