public void Stop() { this.m_Playing = false; for (int i = 0; i < this.m_Samples.Count; i++) { MSSample mssample = this.m_Samples[i]; if (mssample != null) { mssample.Stop(); } } this.m_StopTime = float.MaxValue; }
private void Stop() { this.m_Playing = false; for (int i = 0; i < this.m_Samples.Count; i++) { MSSample mssample = this.m_Samples[i]; if (mssample != null) { mssample.Stop(); } } this.m_StopTime = float.MaxValue; this.m_State = MSState.None; this.m_ChangeRainforestAmbientVolume = false; this.m_RainforestAmbientVolume = 1f; }