onMount method

void onMount()

Called when the component has been added and preperad by the game instance.

This can be used to make initializations on your component as, when this method is called, things like resize (and other mixins) are already set and usable.

Implementation

void onMount() {}