Class Lines
public class Lines : GridBehaviour<GridPoint2, TileCell>
- Inheritance
-
Lines
- 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)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.nameObject.hideFlags
Fields
cellsPerTurn
public int cellsPerTurn
Field Value
colors
public List<Color> colors
Field Value
gameOverText
public Text gameOverText
Field Value
- Text
lineLength
public int lineLength
Field Value
linesCountText
public Text linesCountText
Field Value
- Text
Methods
GetColor(int)
public static Color GetColor(int color)
Parameters
color
int
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 initialization code. (You can access the grid through the Grid property).
public override void InitGrid()
OnClick(GridPoint2)
public void OnClick(GridPoint2 point)
Parameters
point
GridPoint2
OnReset()
public void OnReset()
Reset()
public void Reset()