Ejemplo n.º 1
0
        private void ReceivePlaybackState(object[] e)
        {
            var clip = GetClip(e);

            if (clip == null)
            {
                return;
            }
            if ((bool)e[2])
            {
                animation.PlayClip(clip, (bool)e[4]);
            }
            else
            {
                animation.StopClip(clip);
            }
            clip.clipTime = (float)e[3];
        }