public void ShowMatch() { ShapeDetector.ShapeType t = _detector.FindMatch(_shape); _typeMessage.text = t.ToString(); type = t; Invoke("RemoveMessage", 1f); }
public void RemoveMessage() { _typeMessage.text = ""; type = ShapeDetector.ShapeType.NONE; action = false; }
void Start() { _detector = new ShapeDetector(); type = ShapeDetector.ShapeType.NONE; }