Show / Hide Table of Contents

Class MusicPack

An object that contains a list of music tracks to be played, and what music snapshot should be applied

Inheritance
object
Object
ScriptableObject
MusicPack
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance(string)
ScriptableObject.CreateInstance(Type)
ScriptableObject.CreateInstance<T>()
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public class MusicPack : ScriptableObject

Fields

| Edit this page View Source

ActionTrack

Declaration
public AudioClip ActionTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

ActionTrackSync

Declaration
public MusicSyncType ActionTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

ExtraTrack

Declaration
public AudioClip ExtraTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

ExtraTrackSync

Declaration
public MusicSyncType ExtraTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

MainAltTrack

Declaration
public AudioClip MainAltTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

MainAltTrackSync

Declaration
public MusicSyncType MainAltTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

MainTrack

Declaration
public AudioClip MainTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

MainTrackSync

Declaration
public MusicSyncType MainTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

Snapshot

Declaration
public Music.SnapshotType Snapshot
Field Value
Type Description
Music.SnapshotType
| Edit this page View Source

SubTrack

Declaration
public AudioClip SubTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

SubTrackSync

Declaration
public MusicSyncType SubTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

TensionTrack

Declaration
public AudioClip TensionTrack
Field Value
Type Description
AudioClip
| Edit this page View Source

TensionTrackSync

Declaration
public MusicSyncType TensionTrackSync
Field Value
Type Description
MusicSyncType
| Edit this page View Source

applySnapshot

Should the snapshots be applied when the pack is applied?

Declaration
public bool applySnapshot
Field Value
Type Description
bool
| Edit this page View Source

delay

The delay before the pack gets applied

Declaration
public float delay
Field Value
Type Description
float
| Edit this page View Source

snapshotTransitionTime

How long it will take for the music pack to transition

Declaration
public float snapshotTransitionTime
Field Value
Type Description
float

Properties

| Edit this page View Source

None

Declaration
public static MusicPack None { get; }
Property Value
Type Description
MusicPack

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾