You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it is not the right place to ask a question here, but i hope to get some answers 'cause it seems the best place to ask something about LeanTween.
I saw in many tutorials how to use setOnComplete() without parameters and it works as intended.
What about using setOnComplete() with parameters?
I already tried this code: https://pastebin.com/vA1vDLRF
Any suggestion?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
@ReflexiveFox I saw your code and I see is your callback has GameObject as argument rather than an object. I would recommend using something like this:
voidOnCompleteCallbackWithParam(objectInData){GameObjectvalueToWorkOn=(GameObject)InData;
Debug.Log($"In the on complete callback with param: {valueToWorkOn.name}");
valueToWorkOn.SetActive(false);}
Maybe it is not the right place to ask a question here, but i hope to get some answers 'cause it seems the best place to ask something about LeanTween.
I saw in many tutorials how to use setOnComplete() without parameters and it works as intended.
What about using setOnComplete() with parameters?
I already tried this code: https://pastebin.com/vA1vDLRF
Any suggestion?
Thanks in advance.
The text was updated successfully, but these errors were encountered: