Show / Hide Table of Contents

Class DaggerfallSongPlayer

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
DaggerfallSongPlayer
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(AudioSource))]
public class DaggerfallSongPlayer : MonoBehaviour

Fields

| Improve this Doc View Source

CurrentTime

Declaration
[NonSerialized]
[HideInInspector]
public int CurrentTime
Field Value
Type Description
Int32
| Improve this Doc View Source

EndTime

Declaration
[NonSerialized]
[HideInInspector]
public int EndTime
Field Value
Type Description
Int32
| Improve this Doc View Source

Gain

Declaration
[Range(0F, 10F)]
public float Gain
Field Value
Type Description
Single
| Improve this Doc View Source

IsPlaying

Declaration
[NonSerialized]
[HideInInspector]
public bool IsPlaying
Field Value
Type Description
Boolean
| Improve this Doc View Source

ShowDebugString

Declaration
public bool ShowDebugString
Field Value
Type Description
Boolean
| Improve this Doc View Source

Song

Declaration
public SongFiles Song
Field Value
Type Description
SongFiles
| Improve this Doc View Source

SongFolder

Declaration
public string SongFolder
Field Value
Type Description
String
| Improve this Doc View Source

Songs_GM

Just the GM songs.

Declaration
public static SongFiles[] Songs_GM
Field Value
Type Description
SongFiles[]

Properties

| Improve this Doc View Source

AudioSource

Gets peer AudioSource component.

Declaration
public AudioSource AudioSource { get; }
Property Value
Type Description
AudioSource

Methods

| Improve this Doc View Source

Play()

Declaration
public void Play()
| Improve this Doc View Source

Play(SongFiles)

Play current song.

Declaration
public void Play(SongFiles song)
Parameters
Type Name Description
SongFiles song
| Improve this Doc View Source

Stop()

Stop playing song.

Declaration
public void Stop()

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX