PointerCursor Class |
Namespace: TouchScript.Behaviors.Cursors
public class PointerCursor : MonoBehaviour
The PointerCursor type exposes the following members.
| Name | Description | |
|---|---|---|
| PointerCursor | Initializes a new instance of the PointerCursor class |
| Name | Description | |
|---|---|---|
| getPointerHash |
Returns pointer hash.
| |
| hide |
Hides (clears) this instance.
| |
| Hide |
Hides this instance.
| |
| Init |
Initializes (resets) the cursor.
| |
| SetState |
Sets the state of the cursor.
| |
| show |
Shows this instance.
| |
| update |
This method is called every time when the pointer changes.
| |
| updateOnce |
This method is called once when the cursor is initialized.
| |
| UpdatePointer |
Updates the pointer. This method is called when the pointer is moved.
|
| Name | Description | |
|---|---|---|
| defaultSize |
Initial cursor size in pixels.
| |
| hash |
Last data hash.
| |
| rect |
Cached RectTransform.
| |
| size |
Cursor size.
| |
| state |
Current cursor state.
| |
| stateData |
CUrrent cursor state data.
|