Ejemplo n.º 1
0
        private void OnAnimationKeyRemoved(AnimationKeyRemoved msg)
        {
            if (!_entityId.HasValue)
            {
                return;
            }

            if (msg.KeyId == _entityId)
            {
                ClearTop();
            }
            else if (_editor.GetCurrentAnimation().CurrentFrame == msg.Frame)
            {
                RefreshKeyButtonsOnly();
            }
        }
Ejemplo n.º 2
0
 private void OnKeyRemoved(AnimationKeyRemoved msg)
 {
     CurrentDocument.ApplyCurrentAnimationFrameToScene(_currentAnimationId);
 }