Quantum Registry
The Quantum Console Processor supports a feature called the registry.
By using the registry in conjunction with MonoTargetType.Registry
, you can fully control which objects are used for invocation.
Objects can be added to the registry with:
QuantumRegistry.RegisterObject<T>(T target)
programmaticallyregister-object<T>
command
Multiple objects can be registered per type, and will not be removed from the registry unless they are destroyed or manually removed.
Objects can be removed from the registry with:
QuantumRegistry.DeregisterObject<T>(T target)
deregister-object<T>
Tip
By using the Registry you are also able to add non-static non-monobehaviour commands.
See the API Reference for more