Hi, i found a nice bug with window.FadeIn();
Demo project can be loaded
here.
So first goes
the task: when i press on my game object (character in demo project), a window appears by fading in.
The problem: sometimes it fades in, but sometimes it appears constantly
without fade effect!
And i found a reason experimentally
When you press on a character and mouse pos
is inside window rect, then it appears without fading animation, but when mouse pos is
outside window rect, it appears with animation, as expected.
There are two lines with window rect in demo project, #56 and #57, if you try both of them you will see the issue.