示例#1
0
 public static CommandDelegate ScaleTo(RectTransform transform, Vector2 endScale, double duration, CommandEase ease = null)
 {
     CheckArgumentNonNull(transform, "transform");
     return ChangeTo(transform.ToScaleRef(), endScale, duration, ease);
 }
示例#2
0
 public static CommandDelegate ScaleBy(RectTransform transform, Vector2 scaleFactor, double duration, CommandEase ease = null)
 {
     CheckArgumentNonNull(transform, "transform");
     return ScaleBy(transform.ToScaleRef(), scaleFactor, duration, ease);
 }