/// <summary> /// Pause the underlying audio track chosen for a particular audio. /// The track is not protected against being chosen for other audio while pausing, and if that happens the pause status will be cleared out. /// </summary> public void TrackPause() { #if UNITY_IOS NativeAudio._TrackPause(InstanceIndex); #elif UNITY_ANDROID NativeAudio.trackPause(InstanceIndex); #endif }
/// <summary> /// Pause the underlying audio track chosen for a particular audio. /// The track is not protected against being chosen for other audio while pausing, and if that happens the pause status will be cleared out. /// </summary> public void TrackPause() { AssertInitialized(); #if UNITY_IOS NativeAudio._TrackPause(InstanceIndex); #elif UNITY_ANDROID NativeAudio.trackPause(InstanceIndex); #endif }