void OnDrawGizmos()
    {
        if (visualizing)
        {
            Vector3 position = new Vector3(200, Screen.height - 100, 0);
            CustomGizmos.drawUIString(currentGesture.NumberPoints + "", position, Color.green);
            position += Vector3.down * 20;
            foreach (string error in currentErrors)
            {
                CustomGizmos.drawUIString(error, position, Color.green);
                position += Vector3.down * 20;
            }

            currentGesture.DrawGizmos();
        }
    }
Example #2
0
 protected static void DrawGizmoStringTopRight(string text, Color color)
 {
     CustomGizmos.drawUIString(text, new Vector3(Screen.width - 100, Screen.height - 100, 0), color);
 }