Skip to content

LedBoardControllerEditor

ClassLEDStudioLEDStudio.Editor
[CustomEditor(typeof(LedBoardController))]
[CanEditMultipleObjects]
public sealed class LedBoardControllerEditor : Editor

No description is available for this type.

public override void OnInspectorGUI()

Implement this function to make a custom inspector.

### HasPreviewGUI()
public override bool HasPreviewGUI()

Override this method in subclasses if you implement OnPreviewGUI.

Returns

System.Boolean —

True if this component can be Previewed in its current state.

public override void OnPreviewGUI(Rect r, GUIStyle background)

Creates a custom preview for the preview area of the Inspector, the headers of the primary Editor, and the object selector.

You must implement Editor.HasPreviewGUI for this method to be called.

Parameters

Name Type Description
r UnityEngine.Rect The rectangle in which to draw the preview.
background UnityEngine.GUIStyle Background image.