loicteixeira / gj-unity-api

[MOVED] Game Jolt API wrapper for Unity.
https://github.com/InfectedBytes/gj-unity-api/
MIT License
16 stars 13 forks source link

Leaderboard window becomes broken after dismissing it while fetching data #36

Closed loicteixeira closed 6 years ago

loicteixeira commented 7 years ago

I think that the state of the UI get messed up. It's probably toggling the visibility instead of turning on and off explicitly. Therefore when the callback happens after the window has been dismissed, the default visibility will be inverted.

loicteixeira commented 7 years ago

My guess is that there are some animator.SetTrigger happening after the window has been dismissed so we would need to check whether the window is shown before setting any trigger which might introduce more complexity and bugs. Not sure I want to go this way.

loicteixeira commented 6 years ago

Issues are now tracked at InfectedBytes/gj-unity-api/issues.