This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
ShowLeaderboards callback don't work #51
Comments
You have to go to override public void Show(Action<bool> callback)
{
animator.SetTrigger("Leaderboards");
animator.SetTrigger("ShowLoadingIndicator");
this.callback = callback; // <- Add this
//...
} Hope it helps |
Okay, i implmented the callback myself, but your fix is better. Just, tested, works fine. Should i open a PR or do you want to do it? |
You can do it, I am just a stranger who saw your issue and wanted to help |
Haha, awesome :D Thank you! |
Good job guys 👍 |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
If i execute the following code:
GameJolt.UI.Manager.Instance.ShowLeaderboards((bool test) => { Debug.Log("A very sad callback :c");});
And i close the Leaderboard by pressing the given close button (from the GameJoltAPI-Prefab), nothing happens.
The text was updated successfully, but these errors were encountered: