Adventure Creator  1.66.8
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.MusicStorage Class Reference

Public Member Functions

 MusicStorage (int[] idArray)
 The default Constructor. More...
 

Public Attributes

int ID
 
AudioClip audioClip
 
float relativeVolume
 

Constructor & Destructor Documentation

◆ MusicStorage()

AC.MusicStorage.MusicStorage ( int []  idArray)

The default Constructor.

Parameters
idArrayAn array of already-used ID numbers, so that a unique one can be generated

Member Data Documentation

◆ audioClip

AudioClip AC.MusicStorage.audioClip

The music's AudioClip

◆ ID

int AC.MusicStorage.ID

A unique identifier

◆ relativeVolume

float AC.MusicStorage.relativeVolume

The relative volume to play the music at, as a decimal of the global music volume