public virtual void Initialize(SingleAudioItem audioItem, Magicolo.AudioTools.Player player) { this.audioItem = audioItem; this.player = player; volume = audioItem.GetVolume() * player.audioSettings.masterVolume; }
public AudioItemManager(AudioListener listener, AudioHierarchyManager infoManager, Magicolo.AudioTools.Player player) { this.listener = listener; this.infoManager = infoManager; this.player = player; }
public SingleAudioItem(string name, int id, AudioSource audioSource, AudioInfo audioInfo, GameObject gameObject, CoroutineHolder coroutineHolder, GainManager gainManager, AudioItemManager itemManager, Magicolo.AudioTools.Player player) : base(name, id, itemManager, player) { this.audioSource = audioSource; this.audioInfo = audioInfo; this.gameObject = gameObject; this.coroutineHolder = coroutineHolder; this.gainManager = gainManager; Pitch = audioSource.pitch; }
public MultipleAudioItem(string name, int id, AudioItemManager itemManager, Magicolo.AudioTools.Player player) : base(name, id, itemManager, player) { }