LedBoardControllerEditor
[CustomEditor(typeof(LedBoardController))][CanEditMultipleObjects]public sealed class LedBoardControllerEditor : EditorNo description is available for this type.
Methods
Section titled “Methods”
OnInspectorGUI()
Section titled “OnInspectorGUI()”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.
OnPreviewGUI(Rect, GUIStyle)
Section titled “OnPreviewGUI(Rect, GUIStyle)”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. |