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); }
public override Action Reverse() { return(RotateBy.Create(duration, -rotationDelta, style)); }
public override Action Clone() { Debug.Log("Rotate by clone"); return(RotateBy.Create(duration, rotationDelta, style)); }