Loading...
Searching...
No Matches
AdventureCore.ItemsControlEntryBase< T > Class Template Reference

Detailed Description

base class for the entries of a ItemsControlBase<T> that are instantiated for every item
used to expose the data of the item to the ui(for example to visualize a single InventoryItem)

Template Parameters
T
Inheritance diagram for AdventureCore.ItemsControlEntryBase< T >:

Public Member Functions

void OnPointerClick (PointerEventData eventData)
 
void OnSubmit (BaseEventData eventData)
 
virtual void Set (T item, ItemsControlBase< T > owner)
 
override void OnSelect (BaseEventData eventData)
 
void OnItemSelected ()
 
void OnItemDeselected ()
 

Public Attributes

UnityEvent Selected
 
UnityEvent Deselected
 
UnityEvent Submitted
 
UnityEvent< T > ItemChanged
 

Protected Member Functions

virtual void onSubmitted ()
 

Properties

Item [get]
 
bool IsSelected [get]