Skip to content

Commit

Permalink
Update script API version in header for new camera and viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundito committed Oct 10, 2021
1 parent e5346f4 commit 20c0a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tween/Tween.ash
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct Tween extends TweenBase {
import static function WaitForAllToFinish();
};

#ifdef SCRIPT_API_v350
#ifdef SCRIPT_API_v3507
import int TweenX(this Viewport*, float timing, int toX, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenY(this Viewport*, float timing, int toY, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenWidth(this Viewport*, float timing, int toWidth, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
Expand All @@ -195,7 +195,7 @@ import function StopTweenPosition(this Camera*, TweenStopResult result=Tween_STO
import function StopTweenSize(this Camera*, TweenStopResult result=Tween_STOP_RESULT);
import function StopAllTweens(this Camera*, TweenStopResult result=Tween_STOP_RESULT);
#endif
#ifndef SCRIPT_API_v350
#ifndef SCRIPT_API_v3507
import int TweenViewportX(float timing, int toX, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenViewportY(float timing, int toY, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenViewport(float timing, int toX, int toY, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
Expand Down

0 comments on commit 20c0a3f

Please sign in to comment.