private void OnDestroy() { if (_source != null) { _source.Stop(); } }
private void OnDisable() { PhotonNetwork.OnEventCall -= this._onEvent; if (_musicSource != null) { _musicSource.Stop(); } }