public override void OnInspectorGUI()
    {
        serializedObject.Update();

        EditorGUILayout.BeginVertical("Box");
        EditorGUI.BeginChangeCheck();
        EditorGUILayout.PropertyField(defaultState);
        EditorGUILayout.PropertyField(bakedIndirectMultiplier);
        EditorGUILayout.EndVertical();

        if (EditorGUI.EndChangeCheck())
        {
            serializedObject.ApplyModifiedProperties();
            targetObject.SetLightDimmer();
            targetObject.SetIndirectMultiplier();
        }

        EditorGUILayout.PropertyField(useRandomDelay);
        if (useRandomDelay.boolValue)
        {
            EditorGUILayout.PropertyField(maxRandomDelay);
        }

        EditorGUILayout.PropertyField(eventsReceivers, true);

        serializedObject.ApplyModifiedProperties();
    }