manager

@NotNull
abstract fun <T : Manager?> manager(@NotNull managerClass: @NotNull Class<T>): @NotNull T

Gets the specified manager instance. All separately existing manager getters have been refactored into this single method. Use this method to access any manager.

Example:


ModelManager modelManager = platform.manager(ModelManager.class);

Return

the manager instance

Since

3.3.0

Parameters

managerClass

the class of the manager to retrieve

<T>

the type of the manager