Loading...
Searching...
No Matches
AdventureCore.CharacterCarrierArea Class Reference

Detailed Description

area that parents any character that enters it and suspends its movement

https://adventure.softleitner.com/manual/character

Inheritance diagram for AdventureCore.CharacterCarrierArea:
AdventureCore.GenericTriggerArea AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem > AdventureCore.ICharacterAssociator

Public Member Functions

void SetActive (bool active)
 
- Public Member Functions inherited from AdventureCore.GenericTriggerArea
override void AddItem (GenericTriggerItem item)
 
- Public Member Functions inherited from AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem >
virtual void AddItem (TItem item)
 
virtual void RemoveItem (TItem item)
 

Public Attributes

Transform[] ResetPositions
 
- Public Attributes inherited from AdventureCore.GenericTriggerArea
UnityEvent Started
 
CharacterBase Character
 
string Key
 
UnityEvent< CharacterBaseCharacterAdded
 
UnityEvent< CharacterBaseCharacterRemoved
 
CharacterInstructionBase[] Instructions
 
- Public Attributes inherited from AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem >
UnityEvent< TItem > ItemAdded
 
UnityEvent< TItem > ItemRemoved
 
UnityEvent ItemsChanged
 

Protected Member Functions

override void onItemAdded (GenericTriggerItem item)
 
override void onItemRemoved (GenericTriggerItem item)
 
- Protected Member Functions inherited from AdventureCore.GenericTriggerArea
override void onItemAdded (GenericTriggerItem item)
 
override void onItemRemoved (GenericTriggerItem item)
 
- Protected Member Functions inherited from AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem >
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnTriggerEnter2D (Collider2D collision)
 
virtual void OnTriggerExit2D (Collider2D collision)
 
virtual void OnTriggerEnter (Collider other)
 
virtual void OnTriggerExit (Collider other)
 
void clear ()
 
virtual void tryAdd (Component component)
 
virtual void tryRemove (Component component)
 
virtual void onItemAdded (TItem item)
 
virtual void onItemRemoved (TItem item)
 

Additional Inherited Members

- Protected Attributes inherited from AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem >
Dictionary< TItem, int > _items
 
- Properties inherited from AdventureCore.GenericTriggerArea
string[] Keys [get]
 
CharacterBase AssociatedCharacter [get]
 character that owns or is otherwise associted with the object
 
- Properties inherited from AdventureCore.TriggerArea< GenericTriggerArea, GenericTriggerItem >
IEnumerable< TItem > Items [get]
 
- Properties inherited from AdventureCore.ICharacterAssociator