public void ReadCamera() { photoTaker.TakePhoto(); red.ReadColors(); green.ReadColors(); white.ReadColors(); black.ReadColors(); yellow.ReadColors(); visual.ShowGame(); }
public void DetectBoard() { { photoTaker.TakePhoto(); red.ReadColors(); green.ReadColors(); visual.ShowTiles(); CalculateBoard(); if (tiles.Length == 32) { FindObjectOfType <TextManager>().DisplayInfoAboutBoardDetection(true); } else { FindObjectOfType <TextManager>().DisplayInfoAboutBoardDetection(false); } } }