Table of Contents

Class GridBehaviour<TCell>

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Base class of grid behaviours that is not generic in the point type.

public abstract class GridBehaviour<TCell> : GLMonoBehaviour

Type Parameters

TCell

The type of the cell.

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

This class should not be used directly. Instead, use GridBehaviour<TPoint, TCell>.

Methods

InitGrid()

When this behaviour is attached to a grid builder, this method is called once the grid is created, and all cells(tiles) have been instantiated. Override this to implement custom initialization code. (You can access the grid through the Grid property).

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