Esempio n. 1
0
        public void DeleteKeyframe(HitboxKeyframe keyframe)
        {
            if (!Keyframes.Contains(keyframe))
            {
                return;
            }
#if UNITY_EDITOR
            Undo.RecordObject(this, "Delete Keyframe");
#endif
            Keyframes.Remove(keyframe);
            InternalOnChange();
        }