示例#1
0
        public static new RotateTo Create(float duration, Vector3 rotation, CoordinateStyle style = CoordinateStyle.Local)
        {
            RotateTo ret = new RotateTo();

            if (ret != null && ret.InitWithDuration(duration, rotation, style))
            {
                return(ret);
            }
            return(null);
        }
示例#2
0
 public override Action Clone()
 {
     return(RotateTo.Create(duration, endRotation));
 }