Interface IGUIState
Interface for GUIStates
Namespace: UnityEditor .U2D.Path.GUIFramework
Assembly: solution.dll
Syntax
public interface IGUIState
Properties
Name | Description |
---|---|
changed | Indicates whether the GUI has changed. |
click |
The number of mouse clicks. |
command |
The name of the event's command. |
event |
The type of the event. |
hot |
Hot Control |
is |
Indicates whether the action key is pressed. |
is |
Indicates whether the alt key is pressed. |
is |
Indicates whether the shift key is pressed. |
key |
The KeyCode of the currently pressed key. |
mouse |
The mouse button pressed. |
mouse |
The mouse position. |
nearest |
The closest control to the event. |
Methods
Name | Description |
---|---|
Add |
Adds a control to the GUIState. |
Distance |
Measures the distance to a circle. |
Distance |
Measures the GUI-space distance between two points of a segment. |
GUITo |
Transforms a GUI-space position into world space. |
Get |
|
Get |
Gets the size of the handle. |
Has |
Checks if the current camera is valid. |
Repaint() | Repaints the GUI. |
Slider(int, Slider |
Checks whether a slider value has changed. |
Use |
Uses the event. |