Esempio n. 1
0
 private void OnGUI()
 {
     if (mousePressed && isDoingSquareMultiSelection)
     {
         var rect = BuilderInWorldUtils.GetScreenRect(lastMousePosition, Input.mousePosition);
         BuilderInWorldUtils.DrawScreenRect(rect, new Color(1f, 1f, 1f, 0.5f));
         BuilderInWorldUtils.DrawScreenRectBorder(rect, 1, Color.white);
     }
 }