Class MusicManager
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
MusicManager
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class MusicManager : ManagerBase<MusicManager>, ILogicUpdate
Fields
fadeOutTime
Declaration
public float fadeOutTime
Field Value
| Type | Description |
|---|---|
| float |
volumeMultiplier
Declaration
public float volumeMultiplier
Field Value
| Type | Description |
|---|---|
| float |
Properties
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Awake()
Declaration
protected override void Awake()
Overrides
ManagerBase<MusicManager>.Awake()
LogicUpdate(float)
Declaration
public override void LogicUpdate(float dt)
Parameters
| Type | Name | Description |
|---|---|---|
| float | dt |
Overrides
Pause()
Declaration
public void Pause()
Play(DewMusicItem)
Declaration
public void Play(DewMusicItem music)
Parameters
| Type | Name | Description |
|---|---|---|
| DewMusicItem | music |
Stop()
Declaration
public void Stop()
UnPause()
Declaration
public void UnPause()