📜  gdscript tween - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:35.165000             🧑  作者: Mango

代码示例1
var tween = get_node("Tween")
tween.interpolate_property($Node2D, "position",
        Vector2(0, 0), Vector2(100, 100), 1,
        Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
tween.start()