프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |