I am developing windows game by using cocos2d-x 3.15 version.
By the way, how to detect the event of focus and unfocus of window?
Release Notes says:
[NEW] Desktop: add events for window resize, focus and unfocus
But I don’t find the reference about its usage.
Somebody help me?
Thank you for your time.