Exemple #1
0
        public static RotateBy Create(float duration, Vector3 deltaRotation, CoordinateStyle style = CoordinateStyle.Local)
        {
            RotateBy ret = new RotateBy();

            if (ret != null && ret.InitWithStyle(duration, deltaRotation, style))
            {
                return(ret);
            }
            return(null);
        }
Exemple #2
0
 public override Action Reverse()
 {
     return(RotateBy.Create(duration, -rotationDelta, style));
 }
Exemple #3
0
 public override Action Clone()
 {
     Debug.Log("Rotate by clone");
     return(RotateBy.Create(duration, rotationDelta, style));
 }