Method | Description | |
---|---|---|
DrawScreenRect ( Rect rect, Color color ) : void | ||
DrawScreenRectBorder ( Rect rect, float thickness, Color color ) : void | ||
GetScreenRect ( Vector3 screenPosition1, Vector3 screenPosition2 ) : Rect | ||
GetViewportBounds ( Camera camera, Vector3 screenPosition1, Vector3 screenPosition2 ) : Bounds |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void |
public static DrawScreenRect ( Rect rect, Color color ) : void | ||
rect | Rect | |
color | Color | |
return | void |
public static DrawScreenRectBorder ( Rect rect, float thickness, Color color ) : void | ||
rect | Rect | |
thickness | float | |
color | Color | |
return | void |
public static GetScreenRect ( Vector3 screenPosition1, Vector3 screenPosition2 ) : Rect | ||
screenPosition1 | Vector3 | |
screenPosition2 | Vector3 | |
return | Rect |
public static GetViewportBounds ( Camera camera, Vector3 screenPosition1, Vector3 screenPosition2 ) : Bounds | ||
camera | Camera | |
screenPosition1 | Vector3 | |
screenPosition2 | Vector3 | |
return | Bounds |