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