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 AdventureCore.CharacterActionAreaSurrogate

Public Member Functions

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

Public Attributes

string Tag
 
CharacterActorBase CharacterActor
 
bool SortByDistance
 
bool ShowActive
 
UnityEvent Changed
 

Protected Member Functions

virtual void Start ()
 
virtual void Update ()
 
virtual void onChanged ()
 

Properties

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

Property Documentation

◆ AssociatedCharacter

virtual CharacterBase AdventureCore.CharacterActionArea.AssociatedCharacter
get

character that owns or is otherwise associted with the object

Implements AdventureCore.ICharacterAssociator.