Kit Documentation
Kit Documentation
Kit Reference
Kit
AudioManager Class
AudioManager Methods
CreateGroup Method
GetAllGroups Method
GetGroup Method
GetOrCreateGroup Method
Initialize Method
LoadGroupVolume Method
PauseMusic Method
Play Method
PlayMusic Method
PlaySound Method
PlayUI Method
RemoveGroup Method
SaveGroupVolume Method
StopMusic Method
AudioManager
LoadGroupVolume Method
Returns the volume saved in the settings for a group.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
float
LoadGroupVolume
(
string
name
,
float
defaultVolume
= 1f )
Request Example
View Source
Parameters
name
Type:
System
String
Name of the group.
defaultVolume
(Optional)
Type:
System
Single
Volume to return if it's not saved yet.
Return Value
Type:
Single
See Also
Reference
AudioManager Class
Kit Namespace
Send comments on this topic to
agam@frag-games.com