C# Class UICursor, TheUnseen

Inheritance: MonoBehaviour
Mostra file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
instance UICursor
uiCamera Camera

Public Methods

Method Description
Clear ( ) : void

Clear the cursor back to its original value.

Set ( UIAtlas, atlas, string sprite ) : void

Override the cursor with the specified sprite.

Private Methods

Method Description
Awake ( ) : void

Keep an instance reference so this class can be easily found.

OnDestroy ( ) : void
Start ( ) : void

Cache the expected components and starting values.

Update ( ) : void

Reposition the widget.

Method Details

Clear() static public method

Clear the cursor back to its original value.
static public Clear ( ) : void
return void

Set() static public method

Override the cursor with the specified sprite.
static public Set ( UIAtlas, atlas, string sprite ) : void
atlas UIAtlas,
sprite string
return void

Property Details

instance static_oe public_oe property

static public UICursor instance
return UICursor

uiCamera public_oe property

public Camera uiCamera
return Camera