小编red*_*her的帖子

如何在Unity iTween插件中使用oncompleteparams?

我有代码:

iTween.MoveTo(
gameObject,
iTween.Hash("x",_x,"z",_y, "time", 2.0f, "easetype",
iTween.EaseType.easeInExpo,
"oncomplete", "afterPlayerMove",
"oncompleteparams", iTween.Hash("value", _fieldIndex)
));
Run Code Online (Sandbox Code Playgroud)

但我不知道如何使用oncompleteparams官方手册中没有示例。

如何使用 oncompleteparams ?

c# animation callback unity-game-engine itween

1
推荐指数
1
解决办法
3889
查看次数

标签 统计

animation ×1

c# ×1

callback ×1

itween ×1

unity-game-engine ×1