TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.MMCharacterEvent Struct Reference

MMCharacterEvents are used in addition to the events triggered by the character's state machine, to signal stuff happening that is not necessarily linked to a change of state. More...

Public Member Functions

 MMCharacterEvent (Character character, MMCharacterEventTypes eventType)
 Initializes a new instance of the MoreMountains.TopDownEngine.MMCharacterEvent struct.

Static Public Member Functions

static void Trigger (Character character, MMCharacterEventTypes eventType)

Public Attributes

Character TargetCharacter
MMCharacterEventTypes EventType

Static Public Attributes

static MMCharacterEvent e

Detailed Description

MMCharacterEvents are used in addition to the events triggered by the character's state machine, to signal stuff happening that is not necessarily linked to a change of state.

Constructor & Destructor Documentation

◆ MMCharacterEvent()

MoreMountains.TopDownEngine.MMCharacterEvent.MMCharacterEvent ( Character character,
MMCharacterEventTypes eventType )

Initializes a new instance of the MoreMountains.TopDownEngine.MMCharacterEvent struct.

Parameters
characterCharacter.
eventTypeEvent type.

Member Function Documentation

◆ Trigger()

void MoreMountains.TopDownEngine.MMCharacterEvent.Trigger ( Character character,
MMCharacterEventTypes eventType )
static

Member Data Documentation

◆ e

MMCharacterEvent MoreMountains.TopDownEngine.MMCharacterEvent.e
static

◆ EventType

MMCharacterEventTypes MoreMountains.TopDownEngine.MMCharacterEvent.EventType

◆ TargetCharacter

Character MoreMountains.TopDownEngine.MMCharacterEvent.TargetCharacter

The documentation for this struct was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Common/Scripts/Characters/Core/CharacterEvents.cs