bool PropertyExist(HGL_ClipProperty prop) { for (int i = 0; i < AnimationProperty.Count; i++) { if (AnimationProperty[i].Property.Equals(prop)) { return(true); } } return(false); }
public HGL_UCurveAnimationProperty(AnimationCurve curve, HGL_ClipProperty property) { Curve = curve; Property = property; }
public HGL_UCurveAnimationProperty(HGL_ClipProperty property) { Curve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)); Property = property; }