# OnInspectorGUI()

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

## Definition

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

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