コード例 #1
0
        protected virtual void OnPlaybackClipNameChanged(OscMessage message)
        {
            var channelLayer = message.GetChannelAndLayer();

            if (channelLayer.Item1 == null || channelLayer.Item2 == null)
            {
                return;
            }

            PlaybackClipChanged?.Invoke(this, new PlaybackClipClipChangedEventArgs(message.Single().ToString(), message.IsBackground(), channelLayer.Item1.Value, channelLayer.Item2.Value));
        }