我有代码:
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 ?