HKI Core
Public Types | Private Member Functions | Private Attributes | List of all members
HKI.Core.Audio.PausePlayer Class Reference

This MonoBehaviour allows pausing of a SoundClip on one of the general purpose AudioPlayers. More...

Inheritance diagram for HKI.Core.Audio.PausePlayer:

Public Types

enum  AudioPlayerTypes {
  AudioPlayerTypes.Music, AudioPlayerTypes.Ambient, AudioPlayerTypes.Voices, AudioPlayerTypes.FX,
  AudioPlayerTypes.UIFX
}
 

Private Member Functions

void OnEnable ()
 
void OnDisable ()
 

Private Attributes

AudioSystem AudioSystem = null
 
AudioPlayerTypes AudioPlayerType = AudioPlayerTypes.Music
 

Detailed Description

This MonoBehaviour allows pausing of a SoundClip on one of the general purpose AudioPlayers.

Definition at line 8 of file PausePlayer.cs.

Member Enumeration Documentation

◆ AudioPlayerTypes

Enumerator
Music 
Ambient 
Voices 
FX 
UIFX 

Definition at line 12 of file PausePlayer.cs.

Member Function Documentation

◆ OnDisable()

void HKI.Core.Audio.PausePlayer.OnDisable ( )
inlineprivate

Definition at line 47 of file PausePlayer.cs.

◆ OnEnable()

void HKI.Core.Audio.PausePlayer.OnEnable ( )
inlineprivate

Definition at line 27 of file PausePlayer.cs.

Member Data Documentation

◆ AudioPlayerType

AudioPlayerTypes HKI.Core.Audio.PausePlayer.AudioPlayerType = AudioPlayerTypes.Music
private

Definition at line 24 of file PausePlayer.cs.

◆ AudioSystem

AudioSystem HKI.Core.Audio.PausePlayer.AudioSystem = null
private

Definition at line 22 of file PausePlayer.cs.


The documentation for this class was generated from the following file: