Property | Type | Description | |
---|---|---|---|
rect | |||
size | int |
Method | Description | |
---|---|---|
Hide ( ) : void |
Hides this instance.
|
|
Init ( |
Initializes (resets) the cursor.
|
|
UpdateTouch ( TouchPoint touch ) : void |
Updates the touch. This method is called when the touch is moved.
|
|
update ( TouchPoint touch ) : void |
This method is called every time when the touch changes.
|
Method | Description | |
---|---|---|
hide ( ) : void |
Hides (clears) this instance.
|
|
show ( ) : void |
Shows this instance.
|
|
updateOnce ( TouchPoint touch ) : void |
This method is called once when the cursor is initialized.
|
Method | Description | |
---|---|---|
Awake ( ) : void |
public Init ( |
||
parent | Parent container. | |
touch | TouchPoint | Touch this cursor represents. |
return | void |
public UpdateTouch ( TouchPoint touch ) : void | ||
touch | TouchPoint | Touch this cursor represents. |
return | void |
public update ( TouchPoint touch ) : void | ||
touch | TouchPoint | The touch. |
return | void |
protected updateOnce ( TouchPoint touch ) : void | ||
touch | TouchPoint | The touch. |
return | void |