Table of Contents

Class MeshGridEditor<TGridBuilder, TPoint>

Namespace
Gamelogic.Grids.Editor.Internal
Assembly
Assembly-CSharp-Editor.dll

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.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

Methods

Is2DMap(int)

protected virtual bool Is2DMap(int mapType)

Parameters

mapType int

Returns

bool

IsCustomShape(int)

protected virtual bool IsCustomShape(int shape)

Parameters

shape int

Returns

bool

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

bool

ShowSize(int)

protected virtual bool ShowSize(int shape)

Parameters

shape int

Returns

bool