Exemple #1
0
        public virtual void Initialize(SingleAudioItem audioItem, Magicolo.AudioTools.Player player)
        {
            this.audioItem = audioItem;
            this.player    = player;

            volume = audioItem.GetVolume() * player.audioSettings.masterVolume;
        }
Exemple #2
0
 public AudioItemManager(AudioListener listener, AudioHierarchyManager infoManager, Magicolo.AudioTools.Player player)
 {
     this.listener    = listener;
     this.infoManager = infoManager;
     this.player      = player;
 }
Exemple #3
0
        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;
        }
Exemple #4
0
 public MultipleAudioItem(string name, int id, AudioItemManager itemManager, Magicolo.AudioTools.Player player)
     : base(name, id, itemManager, player)
 {
 }