Skip to content
Version 2.32.0
↓ Get the launcher

IFrameworkDeveloperMode.DeveloperModeChanged event

Raised on the Unity main thread with the new value whenever developer mode is switched on or off — from Settings or by a hand edit of the framework config file. Not raised for your plugin’s current value at subscribe time: read DeveloperMode once, then follow this. Your subscription is dropped automatically when your plugin is disabled or unloaded. A throwing handler is logged and never blocks other plugins’ handlers.

public event Action<bool> DeveloperModeChanged;