Свойство | Type | Description | |
---|---|---|---|
rect | |||
size | int |
Méthode | 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.
|
Méthode | 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.
|
Méthode | Description | |
---|---|---|
Awake ( ) : void |
public Init ( |
||
parent | Parent container. | |
touch | TouchPoint | Touch this cursor represents. |
Résultat | void |
public UpdateTouch ( TouchPoint touch ) : void | ||
touch | TouchPoint | Touch this cursor represents. |
Résultat | void |
public update ( TouchPoint touch ) : void | ||
touch | TouchPoint | The touch. |
Résultat | void |
protected updateOnce ( TouchPoint touch ) : void | ||
touch | TouchPoint | The touch. |
Résultat | void |
protected RectTransform,UnityEngine rect | ||
Résultat |