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