示例#1
0
        private void OnAnimationKeyRemoved(AnimationKeyRemoved msg)
        {
            if (!_entityId.HasValue)
            {
                return;
            }

            if (msg.KeyId == _entityId)
            {
                ClearTop();
            }
            else if (_editor.GetCurrentAnimation().CurrentFrame == msg.Frame)
            {
                RefreshKeyButtonsOnly();
            }
        }
示例#2
0
文件: Editor.cs 项目: thomasvt/pose
 private void OnKeyRemoved(AnimationKeyRemoved msg)
 {
     CurrentDocument.ApplyCurrentAnimationFrameToScene(_currentAnimationId);
 }