Ejemplo n.º 1
0
        /// <summary>
        /// Set a playback time of this audio player. If the track is in a paused state it is immediately resumed.
        /// You can set it even while the track is playing.
        /// </summary>
        /// <param name="offsetSeconds"></param>
        public void SetPlaybackTime(float offsetSeconds)
        {
#if UNITY_IOS
            NativeAudio._SetPlaybackTime(InstanceIndex, offsetSeconds);
#elif UNITY_ANDROID
            NativeAudio.setPlaybackTime(InstanceIndex, offsetSeconds);
#endif
        }