Loading...
Searching...
No Matches
AdventureCore.TriggerItem< TArea, TItem > Class Template Referenceabstract

Detailed Description

counterpart to TriggerArea<TArea, TItem>

Template Parameters
TArea
TItem
Type Constraints
TArea :TriggerArea 
TArea :TArea 
TArea :TItem 
TItem :TriggerItem 
TItem :TArea 
TItem :TItem 
Inheritance diagram for AdventureCore.TriggerItem< TArea, TItem >:

Public Member Functions

virtual void AddArea (TArea area)
 
virtual void RemoveArea (TArea area)
 

Public Attributes

UnityEvent< TArea > AreaAdded
 
UnityEvent< TArea > AreaRemoved
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void onAreaAdded (TArea area)
 
virtual void onAreaRemoved (TArea area)
 

Protected Attributes

List< TArea > _areas = new List<TArea>()
 

Properties

IReadOnlyList< TArea > Areas [get]