Click or drag to resize

PointerCursor Class

Visual cursor implementation used by TouchScript.
Inheritance Hierarchy

Namespace:  TouchScript.Behaviors.Cursors
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class PointerCursor : MonoBehaviour

The PointerCursor type exposes the following members.

Constructors
  NameDescription
Public methodPointerCursor
Initializes a new instance of the PointerCursor class
Top
Properties
  NameDescription
Public propertySize
Cursor size in pixels.
Top
Methods
  NameDescription
Protected methodgetPointerHash
Returns pointer hash.
Protected methodhide
Hides (clears) this instance.
Public methodHide
Hides this instance.
Public methodInit
Initializes (resets) the cursor.
Public methodSetState
Sets the state of the cursor.
Protected methodshow
Shows this instance.
Protected methodupdate
This method is called every time when the pointer changes.
Protected methodupdateOnce
This method is called once when the cursor is initialized.
Public methodUpdatePointer
Updates the pointer. This method is called when the pointer is moved.
Top
Fields
  NameDescription
Protected fielddefaultSize
Initial cursor size in pixels.
Protected fieldhash
Last data hash.
Protected fieldrect
Cached RectTransform.
Protected fieldsize
Cursor size.
Protected fieldstate
Current cursor state.
Protected fieldstateData
CUrrent cursor state data.
Top
See Also