# OnInspectorGUI()

> A callback that is called when drawing the Environment section in the Lighting window.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public virtual void OnInspectorGUI()
```
