Class InputValidation
Utility class for validating when certain types of input are possible.
Inheritance
System.Object
InputValidation
Namespace: ScriptableFramework
Assembly: cs.temp.dll.dll
Syntax
public static class InputValidation
Fields
draggingUI
Works in tandem with Dragable component to check if UI is being dragged.
Declaration
public static bool draggingUI
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
IsMouseOverUIObject()
Static Boolean function that checks whether the position of the mouse if over a 3D object. Works for touch input as well.
Declaration
public static bool IsMouseOverUIObject()
Returns
| Type | Description |
|---|---|
| System.Boolean | Boolean on mouse over |