Add this class to a GameObject to have it play a background music when instanciated.
More...
|
virtual void | Start () |
| Gets the AudioSource associated to that GameObject, and asks the GameManager to play it. More...
|
|
Add this class to a GameObject to have it play a background music when instanciated.
◆ Start()
virtual void MoreMountains.TopDownEngine.BackgroundMusic.Start |
( |
| ) |
|
|
protectedvirtual |
Gets the AudioSource associated to that GameObject, and asks the GameManager to play it.
◆ ID
int MoreMountains.TopDownEngine.BackgroundMusic.ID = 255 |
the ID to create this background music with
◆ Loop
bool MoreMountains.TopDownEngine.BackgroundMusic.Loop = true |
whether or not the music should loop
◆ SoundClip
AudioClip MoreMountains.TopDownEngine.BackgroundMusic.SoundClip |
The documentation for this class was generated from the following file:
- F:/Github/Store/TopDownEngine/Assets/TopDownEngine/Common/Scripts/Sound/BackgroundMusic.cs