void OnEdit()
 {
     if (Keyframes != null)
     {
         Keyframes.Sort((k1, k2) => k1.Time.CompareTo(k2.Time));
     }
     OnAssetEdit.SafeInvoke();
 }
Пример #2
0
 protected override void SortKeyframeList()
 {
     //sort the keyframes
     Keyframes.Sort((a, b) => a.Time.Value.CompareTo(b.Time.Value));
 }
Пример #3
0
 public void Sortkeyframes()
 {
     Keyframes.Sort((k1, k2) => k1.Time.CompareTo(k2.Time));
 }
 public void SortKeyframes()
 {
     Keyframes.Sort(JSplineKeyframe.Comparer);
     BuildCurveFromKeyframes();
 }