Exemple #1
0
        protected virtual void NotifyResume()
        {
            WriterSignals.DoWriterState(this, DialogWriteState.Resume);

            for (int i = 0; i < writerListeners.Count; i++)
            {
                var writerListener = writerListeners[i];
                writerListener.OnResume();
            }
        }
Exemple #2
0
        protected virtual void NotifyEnd(bool stopAudio)
        {
            WriterSignals.DoWriterState(this, DialogWriteState.End);

            for (int i = 0; i < writerListeners.Count; i++)
            {
                var writerListener = writerListeners[i];
                writerListener.OnEnd(stopAudio);
            }
        }
Exemple #3
0
        protected virtual void NotifyStart(AudioClip audioClip)
        {
            WriterSignals.DoWriterState(this, DialogWriteState.Start);

            for (int i = 0; i < writerListeners.Count; i++)
            {
                var writerListener = writerListeners[i];
                writerListener.OnStart(audioClip);
            }
        }