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
The segue ends and gives the destination scene the current focus. But the update for this scene had run before this switch happens. Therefore, because of this gap, IsInFocus() will be true after that scene's first onDraw() but only true after that scene's secondonTick().
While technically fine, this will be a major developer problem because we expect the updates to reflect the draw and programmers will need to track "next frames" to determine if IsInFocus() is useful for synchronizing the scene state and its drawables.
Additionally, this IsInFocus() is very useful. This should be an available function in Swoosh v2.
The text was updated successfully, but these errors were encountered:
This problem happens when we have a screen which uses the following:
The segue ends and gives the destination scene the current focus. But the update for this scene had run before this switch happens. Therefore, because of this gap,
IsInFocus()
will be true after that scene's firstonDraw()
but only true after that scene's secondonTick()
.While technically fine, this will be a major developer problem because we expect the updates to reflect the draw and programmers will need to track "next frames" to determine if
IsInFocus()
is useful for synchronizing the scene state and its drawables.Additionally, this
IsInFocus()
is very useful. This should be an available function in Swoosh v2.The text was updated successfully, but these errors were encountered: