This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Movable blank | |
; Blank fullscren GUI window that's click-through | |
; It's not power-saving but allows you to peek through when you need it. | |
; For power saving consider just switching (native Windows shortcut Win + P) | |
; Move it from screen to screen (native Windows shortcut Win + Shift + Left/Right) | |
; Make it translucent (Helpers enhancement Win + PgUp/PgDn or Win + WheelUp/WheelDn) | |
; Close it like a regular window (native Windows Alt + F4) | |
; Start multiple instances for multiple monitors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void DrawBounds(Bounds b, float delay=0) | |
{ | |
// bottom | |
var p1 = new Vector3(b.min.x, b.min.y, b.min.z); | |
var p2 = new Vector3(b.max.x, b.min.y, b.min.z); | |
var p3 = new Vector3(b.max.x, b.min.y, b.max.z); | |
var p4 = new Vector3(b.min.x, b.min.y, b.max.z); | |
Debug.DrawLine(p1, p2, Color.blue, delay); | |
Debug.DrawLine(p2, p3, Color.red, delay); |