ORK Framework  2.24.0
API Documentation
ORKFramework.PlayAudioSettings Class Reference
Inheritance diagram for ORKFramework.PlayAudioSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

float PlayAudio (GameObject obj, AudioClip clip)
 
float PlayAudio (AudioSource audio, AudioClip clip)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool oneShot = false
 
bool advSet = false
 
float volume = 1
 
float minD = 0
 
float maxD = 100
 
AudioRolloffMode rolloff = AudioRolloffMode.Linear
 
float pitch = 1
 
bool loop = false
 
bool ignoreLV = false
 
bool setPan = false
 
float panLevel = 0
 
float pan = 0