OnToggleScriptProfiler

Called when a script profiler is enabled/disabled.