TweenPosition

inherit Tween

Description

Tween the object's position.

Variables

Variable Name Type Description
from qc.Color From position(x and y, but not anchoredX or anchoredY).
to qc.Color To Position(x and y, but not anchoredX or anchoredY).
moveAxis int TweenPosition.ONLY_X(move x position only)、TweenPosition.ONLY_Y(move y position only)、TweenPosition.BOTH(move x and y)

Manual

Tween Animation