Class PointyHexTileGridBuilder
Class for building a pointy hex grid in the Unity editor. This builder can also make pointy brick grids.
This component should (generally) not be accessed directly.Instead, add your own component that inherits from GridBebaviour, and access the grid and map through there.
[Version(1, 8, 0)]
[AddComponentMenu("Gamelogic/GridBuilders/Tile Grids/Pointy Hex Grid Builder")]
public class PointyHexTileGridBuilder : TileGridBuilder<PointyHexPoint>, ITileGrid<PointyHexPoint>, IGridBuilderBase, IGLScriptableObject
- Inheritance
-
PointyHexTileGridBuilder
- Implements
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.transformComponent.gameObjectComponent.tagObject.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.nameObject.hideFlags
- Extension Methods
Properties
Grid
public PointyHexGrid<TileCell> Grid { get; }
Property Value
GridShape
public PointyHexTileGridBuilder.Shape GridShape { get; set; }
Property Value
Map
public IMap3D<PointyHexPoint> Map { get; }
Property Value
Methods
CreateWindowedMap()
protected override WindowedMap<PointyHexPoint> CreateWindowedMap()
Returns
GetColorFunc(int, int, int)
protected override Func<PointyHexPoint, int> GetColorFunc(int x0, int x1, int y1)
Parameters
Returns
InitGrid()
protected override void InitGrid()