示例#1
0
 public AnimatorKeyFrame(Type animatorType, Cue cue)
 {
     AnimatorType = animatorType;
     Cue          = cue;
 }
示例#2
0
 public AnimatorKeyFrame(Type?animatorType, Cue cue, KeySpline?keySpline)
 {
     AnimatorType = animatorType;
     Cue          = cue;
     KeySpline    = keySpline;
 }
示例#3
0
 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
 {
     return(Cue.Parse((string)value, culture));
 }
示例#4
0
 public AnimatorKeyFrame(Type?animatorType, Cue cue)
 {
     AnimatorType = animatorType;
     Cue          = cue;
     KeySpline    = null;
 }