Sample overview

ContentProviderWithActivationOverride.cs - implements IInputModule withbool UpdateInputModule(). It gets called from DebugPanel each frame and if true returned that means panel need to change its state Activate/Deactivate

Current example showcases activation with regular Button in Canvas.

image.png

InputModule property of DebugPanel can be stetted directly

image.png

Or override GetInputModule() method in ContentProvider

image.png