onGameResize method
Called whenever the size of the top-level Canvas changes.
In addition, this method will be invoked before each onMount.
Implementation
@override
void onGameResize(Vector2 size) {
if (kDebugMode && _initialized) {
_behaviorManager.updateBehaviors(behaviors);
}
super.onGameResize(size);
}