C# Class SelectableSprite, Space-Zoologist

Handles sprite rendering object selection through ItemSelectedEvent (UnityEvent)
Inheritance: MonoBehaviour
Exibir arquivo Open project: tg1230/Space-Zoologist Class Usage Examples

Public Properties

Property Type Description
OnItemSelectedEvent ItemSelectedEvent

Public Methods

Method Description
OnMouseDown ( ) : void
SetupItemSelectedHandler ( ItemSelectedEvent action ) : void

Method Details

OnMouseDown() public method

public OnMouseDown ( ) : void
return void

SetupItemSelectedHandler() public method

public SetupItemSelectedHandler ( ItemSelectedEvent action ) : void
action ItemSelectedEvent
return void

Property Details

OnItemSelectedEvent public_oe property

public ItemSelectedEvent OnItemSelectedEvent
return ItemSelectedEvent