@modoki/engine / index / registerManager
Function: registerManager()
registerManager(
def):void
Register a manager. App-scoped managers activate immediately and stay active until unregister. Game-/scene-scoped managers activate now only if their game/scene is already active and matches, otherwise they wait for the next matching game/scene activation. Re-registering a name replaces (and disposes) the previous one.
Parameters
def
Returns
void