Click or drag to resize

ObjectCursor Class

Cursor for object pointers.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          TouchScript.Behaviors.CursorsPointerCursor
            TouchScript.Behaviors.CursorsTextPointerCursorObjectPointer
              TouchScript.Behaviors.CursorsObjectCursor

Namespace:  TouchScript.Behaviors.Cursors
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ObjectCursor : TextPointerCursor<ObjectPointer>

The ObjectCursor type exposes the following members.

Constructors
  NameDescription
Public methodObjectCursor
Initializes a new instance of the ObjectCursor class
Top
Properties
  NameDescription
Public propertySize
Cursor size in pixels.
(Inherited from PointerCursor.)
Top
Methods
  NameDescription
Protected methodgenerateText
Generates text for pointer.
(Overrides TextPointerCursorTgenerateText(T, StringBuilder).)
Protected methodgethash
Typed version of getPointerHash(IPointer). Returns a hash of a cursor state.
(Overrides TextPointerCursorTgethash(T).)
Protected methodgetPointerHash
Returns pointer hash.
(Inherited from TextPointerCursorT.)
Protected methodhide
Hides (clears) this instance.
(Inherited from PointerCursor.)
Public methodHide
Hides this instance.
(Inherited from PointerCursor.)
Public methodInit
Initializes (resets) the cursor.
(Inherited from PointerCursor.)
Public methodSetState
Sets the state of the cursor.
(Inherited from PointerCursor.)
Protected methodshow
Shows this instance.
(Inherited from PointerCursor.)
Protected methodtextIsVisible
Indicates if text should be visible.
(Overrides TextPointerCursorTtextIsVisible.)
Protected methodupdate
This method is called every time when the pointer changes.
(Inherited from PointerCursor.)
Protected methodupdateOnce
This method is called once when the cursor is initialized.
(Inherited from TextPointerCursorT.)
Public methodUpdatePointer
Updates the pointer. This method is called when the pointer is moved.
(Inherited from PointerCursor.)
Top
Fields
  NameDescription
Protected fielddefaultSize
Initial cursor size in pixels.
(Inherited from PointerCursor.)
Protected fieldhash
Last data hash.
(Inherited from PointerCursor.)
Protected fieldrect
Cached RectTransform.
(Inherited from PointerCursor.)
Public fieldShowAngle
Should the value of Angle be shown on the cursor.
Public fieldShowFlags
Should the value of Flags be shown on screen on the cursor.
(Inherited from TextPointerCursorT.)
Public fieldShowObjectId
Should the value of ObjectId be shown on the cursor.
Public fieldShowPointerId
Should the value of Id be shown on screen on the cursor.
(Inherited from TextPointerCursorT.)
Public fieldShowSize
Should the values of Width and Height be shown on the cursor.
Protected fieldsize
Cursor size.
(Inherited from PointerCursor.)
Protected fieldstate
Current cursor state.
(Inherited from PointerCursor.)
Protected fieldstateData
CUrrent cursor state data.
(Inherited from PointerCursor.)
Public fieldText
The link to UI.Text component.
(Inherited from TextPointerCursorT.)
Top
See Also