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

Detailed Description

helper behaviour that gives easy access to any actions that OnTriggerEnter(Collider)
if your OnTriggerEnter does not fire check the layer matrix in your physics settings
and the collision action matrix at https://docs.unity3d.com/Manual/CollidersOverview.html

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

Inheritance diagram for AdventureCore.CharacterActionArea:
AdventureCore.ICharacterAssociator

Public Member Functions

void OnStartAction (InputValue value)
 
void OnStartAction (InputAction.CallbackContext context)
 
void StartAction ()
 
void BindInput (InputAction inputAction)
 
void UnbindInput (InputAction inputAction)
 

Public Attributes

string Tag
 
CharacterActorBase CharacterActor
 
bool SortByDistance
 
UnityEvent Changed
 

Properties

CharacterActionBase Action [get]
 
CharacterActionBindings Bindings [get]
 
IReadOnlyCollection< CharacterActionBaseActions [get]
 
bool HasAction [get]
 
bool CanStart [get]
 
string Text [get]
 
CharacterBase AssociatedCharacter [get]
 character that owns or is otherwise associted with the object
 
- Properties inherited from AdventureCore.ICharacterAssociator

Property Documentation

◆ AssociatedCharacter

CharacterBase AdventureCore.CharacterActionArea.AssociatedCharacter
get

character that owns or is otherwise associted with the object

Implements AdventureCore.ICharacterAssociator.