Свойство | Тип | Описание | |
---|---|---|---|
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 |
Свойство | Тип | Описание | |
---|---|---|---|
cursorSizeX | int | ||
cursorSizeY | int |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
Результат | void |
protected OnPress ( bool isDown, int ptrID ) : void | ||
isDown | bool | If set to |
ptrID | int | Ptr I. |
Результат | void |
public static bool CursorInMainWindow | ||
Результат | bool |
public RectTransform[],UnityEngine UIsToStore | ||
Результат | UnityEngine.RectTransform[] |