Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.AudioChannel Class Reference
Inheritance diagram for GamingIsLove.Makinom.AudioChannel:
GamingIsLove.Makinom.ISaveData GamingIsLove.Makinom.MusicChannel GamingIsLove.Makinom.SoundChannel

Public Member Functions

virtual void SetOutput (AudioMixerGroup audioMixerGroup)
 
virtual void FadeVolume (float toVolume, Interpolation interpolation, float time)
 
virtual void UpdateVolume ()
 
virtual void Tick ()
 
virtual void SetPCM (int pcm)
 
virtual void SetTime (float time)
 
virtual void Stop ()
 
virtual DataObject SaveGame ()
 Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject. More...
 
virtual void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject. More...
 

Protected Member Functions

virtual AudioSource AddAudioSource (GameObject gameObject)
 

Protected Attributes

float volume = 1
 
bool mute = false
 
Interpolation.FloatInstance fadeVolume
 

Properties

virtual float? Volume [get, set]
 
virtual float RealVolume [get]
 
virtual bool Mute [get, set]
 

Member Function Documentation

◆ LoadGame()

virtual void GamingIsLove.Makinom.AudioChannel.LoadGame ( DataObject  data)
virtual

Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject.

Parameters
dataA GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.

Reimplemented in GamingIsLove.Makinom.MusicChannel.

◆ SaveGame()

virtual DataObject GamingIsLove.Makinom.AudioChannel.SaveGame ( )
virtual

Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject.

Returns
A GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.

Reimplemented in GamingIsLove.Makinom.MusicChannel.