GUI window component for the Grid information.
More...
|
void | Start () |
| Initializes GUI window component and sets all the values correctly.
|
|
override void | DrawWindowGUI (int windowID) |
| Draws window elements and handles logic.
|
|
|
string | _windowName = "ProcHexGrid" |
|
int | _windowID = 0 |
|
int | _minWidth = 200 |
|
int | _minHeight = 250 |
|
Vector2 | _startingPosition = new Vector2(10, 10) |
|
int | _screenPadding = 10 |
|
bool | _showFPS = true |
|
bool | _allowMinimizing = true |
|
bool | _minimizeUp = true |
|
bool | _allowDrag = true |
|
bool | _dragOnlyHeader = false |
|
ResizeCorner | _resizeCorner = ResizeCorner.lowerRight |
|
bool | _allowResizing = true |
|
float | _resizingSpeed = 30f |
|
Color32 | _buttonTextHoverColor = new Color32(0, 200, 0, 255) |
|
Texture2D | selection_icon = (Texture2D)Resources.Load("GUI/selection_icon", typeof(Texture2D)) |
|
Texture2D | info_icon = (Texture2D)Resources.Load("GUI/info_icon", typeof(Texture2D)) |
|
Texture2D | layers_icon = (Texture2D)Resources.Load("GUI/layers_icon", typeof(Texture2D)) |
|
bool | showWindVectors = true |
|
bool | closedWindow = false |
|
|
static CellObject | selected_co |
|
static CellObject | hover_co |
|
static GridOutlineState | showGridOutline = GridOutlineState.AllOff |
|
static string | toggleGridOutlineString = "Land On" |
|
|
void | UpdateWindowDimensions () |
| Updates window dimensions for GUI element scaling.
|
|
void | SetupTextures () |
| Setups textures for general GUI use.
|
|
void | SetupStyles () |
| Setup styles for GUI elements.
|
|
IEnumerator | FPS () |
|
void | UpdateFPS () |
| Updates the FPS.
|
|
void | DrawBasicGUI () |
|
void | updateAreas () |
| Updates position of the buttons.
|
|
void | ResizeWindow () |
| Changes window size when resizing.
|
|
Rect | window |
|
int | windowID |
|
int | minWidth |
|
int | minHeight |
|
Vector2 | startingPosition |
|
int | screenPadding |
|
string | windowName |
|
bool | allowMinimizing |
|
bool | minimizeUp |
|
bool | minimizeWindow = false |
|
Rect | minimizeArea |
|
bool | allowClose |
|
Rect | closeArea |
|
bool | allowDrag |
|
bool | dragOnlyHeader |
|
bool | allowResizing |
|
ResizeCorner | resizeCorner = ResizeCorner.lowerRight |
|
bool | resizingWindow = false |
|
Vector2 | mousePosition |
|
float | resizingSpeed |
|
Rect | resizeArea |
|
float | winWidth2 |
|
float | winWidth3 |
|
float | winWidth4 |
|
float | winWidth8 |
|
float | winHeight2 |
|
float | winHeight4 |
|
float | lastWindowHeight |
|
Texture2D | blackTexture |
|
Texture2D | resize_icon |
|
Texture | close_icon |
|
Texture2D | maximize_icon |
|
GUIStyle | styleLabel |
|
GUIStyle | styleFPS |
|
GUIStyle | styleButton |
|
GUIStyle | styleBox |
|
Color32 | buttonTextHoverColor |
|
bool | showFPS |
|
GUI window component for the Grid information.
The documentation for this class was generated from the following file: