Table of Contents

Class PointyHexMeshGridBuilder

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Builder for building flat hex mesh grid.

[Version(1, 14, 0)]
[AddComponentMenu("Gamelogic/GridBuilders/Mesh Grids/Pointy Hex Grid Builder")]
public class PointyHexMeshGridBuilder : MeshGridBuilder<PointyHexPoint>, ITileGrid<PointyHexPoint>, IGridBuilderBase, IGLScriptableObject
Inheritance
PointyHexMeshGridBuilder
Implements
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentsInParent<T>()
Component.transform
Component.gameObject
Component.tag
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
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

CreateMap()

protected override IMap3D<PointyHexPoint> CreateMap()

Returns

IMap3D<PointyHexPoint>

CreateMeshMap()

protected override IMeshMap<PointyHexPoint> CreateMeshMap()

Returns

IMeshMap<PointyHexPoint>

GetColorFunc(int, int, int)

protected override Func<PointyHexPoint, int> GetColorFunc(int x0, int x1, int y1)

Parameters

x0 int
x1 int
y1 int

Returns

Func<PointyHexPoint, int>

InitGrid()

protected override void InitGrid()

See Also

MeshGridBuilder<TPoint>