예제 #1
0
        public static MoveBy Create(float duration, Vector3 deltaPosition, CoordinateStyle style = CoordinateStyle.Local)
        {
            MoveBy ret = new MoveBy();

            if (ret != null && ret.InitWithStyle(duration, deltaPosition, style))
            {
                return(ret);
            }
            return(null);
        }
예제 #2
0
 public override Action Reverse()
 {
     return(MoveBy.Create(duration, -positionDelta, style));
 }
예제 #3
0
 public override Action Clone()
 {
     Debug.Log("move by clone");
     return(MoveBy.Create(duration, positionDelta, style));
 }