LightEditor
The class used to render the Light Editor when a Light is selected in the Unity Editor.
Read time 5 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
- Inherits from: Editor
[CustomEditor(typeof(Light))]public class LightEditor : Editor
Properties
Property | Description |
|---|---|
| settings | The settings helper that can be used for rendering a custom LightEditor. |
Methods
Method | Description |
|---|---|
| OnDestroy | See ScriptableObject.OnDestroy(). |
| OnEnable | See ScriptableObject.OnEnable(). |
| OnInspectorGUI | See Editor.OnInspectorGUI(). |
| OnSceneGUI | See Editor.OnSceneGUI(). |
Classes
Class | Description |
|---|---|
| LightEditor.Settings | Contains all drawable elements of the LightEditor. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |