Property | Type | Description | |
---|---|---|---|
ContextUIEnabled | bool | ||
ContextUIUse | bool | ||
CursorInMainWindow | bool | ||
CursorPosition | Rect | ||
FullScreen | bool | ||
InMap | bool | ||
JustClicked | bool | ||
MouseHeldDown | bool | ||
UIPositionsFullScreen | Vector3[] | ||
UIPositionsWindowed | Vector3[] | ||
UIsToStore | UnityEngine.RectTransform[] | ||
WaitingForInput | bool | ||
WindowWaitCount | float |
Property | Type | Description | |
---|---|---|---|
cursorSizeX | int | ||
cursorSizeY | int |
Method | Description | |
---|---|---|
Start ( ) : void | ||
setPositions ( ) : void |
Sets the positions of the ui elements based on the current fullscreen mode.
|
|
updateUIPositions ( ) : void |
Updates the fullscreen ui positions after the player has finished dragging.
|
Method | Description | |
---|---|---|
OnHover ( bool isOver ) : void |
Detect if the mouse cursor is in the main window view
|
|
OnPress ( bool isDown, int ptrID ) : void |
Detects if the mouse is held down (used in weapon charging)
|
|
ThrowObjectInHand ( ) : void |
Throws the object in hand along a vector in the 3d view.
|
protected OnHover ( bool isOver ) : void | ||
isOver | bool | If set to |
return | void |
protected OnPress ( bool isDown, int ptrID ) : void | ||
isDown | bool | If set to |
ptrID | int | Ptr I. |
return | void |
public RectTransform[],UnityEngine UIsToStore | ||
return | UnityEngine.RectTransform[] |