Пример #1
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;
        }
Пример #2
0
 public MultipleAudioItem(string name, int id, AudioItemManager itemManager, Magicolo.AudioTools.Player player)
     : base(name, id, itemManager, player)
 {
 }