Class MeshGridEditor<TGridBuilder, TPoint>
The base class of mesh-grid editors. This class implements the core logic.
public class MeshGridEditor<TGridBuilder, TPoint> : GLEditor<TGridBuilder> where TGridBuilder : MonoBehaviour, ITileGrid<TPoint> where TPoint : IGridPoint<TPoint>
Type Parameters
TGridBuilder
The type of the grid builder.
TPoint
The type of the point of the grid to build.
- Inheritance
-
GLEditor<TGridBuilder>MeshGridEditor<TGridBuilder, TPoint>
- 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.targetEditor.targetsEditor.serializedObjectEditor.finishedDefaultHeaderGUIObject.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.nameObject.hideFlags
- Extension Methods
Methods
Is2DMap(int)
protected virtual bool Is2DMap(int mapType)
Parameters
mapType
int
Returns
IsCustomShape(int)
protected virtual bool IsCustomShape(int shape)
Parameters
shape
int
Returns
OnEnable()
public void OnEnable()
OnInspectorGUI()
Implement this function to make a custom inspector.
public override void OnInspectorGUI()
ShowDimensions(int)
protected virtual bool ShowDimensions(int shape)
Parameters
shape
int
Returns
ShowSize(int)
protected virtual bool ShowSize(int shape)
Parameters
shape
int