Table of Contents

Class GLEditor<T>

Namespace
Gamelogic.Extensions.Editor.Internal
Assembly
Gamelogic.Extensions.Editor.dll

Class that can be used as a base class for custom editors with extra convenience methods and properties.

[Version(1, 3, 0)]
public class GLEditor<T> : Editor where T : MonoBehaviour

Type Parameters

T

The type this is an editor for.

Inheritance
GLEditor<T>
Derived
Inherited Members
Editor.CreateEditorWithContext(Object[], Object)
Editor.CreateEditor(Object)
Editor.CreateEditor(Object[])
Editor.ShouldHideOpenButton()
Editor.GetPreviewTitle()
Editor.GetInfoString()
Editor.UseDefaultMargins()
Editor.Initialize(Object[])
Editor.target
Editor.targets
Editor.serializedObject
Editor.finishedDefaultHeaderGUI
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.name
Object.hideFlags
Extension Methods

Properties

Target
Targets

Methods

AddCombo(string[], int)
AddField(GLSerializedProperty)
AddField(SerializedProperty)
AddLabel(string, string)
AddTextAndButton(string, string, Action)
ArrayGUI(SerializedObject, SerializedProperty)
DrawInspectorButtons(int)

Draws the buttons in the inspector for all method in the target class that are marked with the InspectorButtonAttribute.

FindProperty(string)
HasProperty(string)
Splitter()

Draws a line as a separator in the inspector.

See Also