コード例 #1
0
        public virtual void Play(Sound sound)
        {
            var audioArgs = new AudioArgs {
                Sound = sound
            };

            OnAudioRequestReceived(audioArgs);
        }
コード例 #2
0
 protected virtual void OnAudioRequestReceived(AudioArgs args)
 {
     AudioRequestReceived?.Invoke(this, args);
 }