Class Pipes
public class Pipes : GridBehaviour<PointyHexPoint>, IResetable
- Inheritance
-
Pipes
- 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
Methods
HasGameFinished()
public bool HasGameFinished()
Returns
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 initialisation code. (You can access the grid through the Grid property).
public override void InitGrid()
IsClosed(PointyHexPoint)
public bool IsClosed(PointyHexPoint point)
Parameters
point
PointyHexPoint
Returns
OnGUI()
public void OnGUI()
OnLeftClick(PointyHexPoint)
public void OnLeftClick(PointyHexPoint point)
Parameters
point
PointyHexPoint
OnRightClick(PointyHexPoint)
public void OnRightClick(PointyHexPoint point)
Parameters
point
PointyHexPoint
Reset()
public void Reset()
RotateEdgeNumberClockWise(int)
public int RotateEdgeNumberClockWise(int edge)
Parameters
edge
int
Returns
RotateEdgeNumberCounterClockWise(int)
public int RotateEdgeNumberCounterClockWise(int edge)
Parameters
edge
int
Returns
Update()
public void Update()
UpdateHighlight(PointyHexPoint)
public void UpdateHighlight(PointyHexPoint point)
Parameters
point
PointyHexPoint