Table of Contents

Class GridBehaviour<TPoint, TCell>

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

A grid behaviour is a GLMonoBehaviour that can be used next to a GridBuilder and provides easy access to the grid and map of the grid builder.

public class GridBehaviour<TPoint, TCell> : GridBehaviour<TCell>

Type Parameters

TPoint

The point type.

TCell

The cell type.

Inheritance
GridBehaviour<TPoint, TCell>
Derived
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)
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

Remarks

See for details on how to use grid behaviours.

Properties

Grid

The grid data structure, containing cells as elements.

GridBuilder

Returns the grid builder attached to the same game object as this grid behaviour. (It's provided, but you will mostly need only the Grid and Map.)

GridMap

The map used to build the grid.

Methods

__InitPrivateFields<TPoint1>(GridBuilder<TCell>, IGrid<TPoint1, TCell>, GridMap<TPoint1>)