Class PresentationHooks

Namespace
TDMaker.Unity.Authoring
Assembly
TDMaker.Unity.dll

Optional per-template presentation hooks: VFX prefabs (pooled) and audio cues for the standard moments of a unit's life. Every field may be left empty.

public sealed class PresentationHooks
Inheritance
PresentationHooks
Inherited Members

Constructors

PresentationHooks()

public PresentationHooks()

Fields

attackCue

Played when the entity starts an attack.

public AudioCue attackCue

Field Value

AudioCue

attackVfx

Spawned on the entity when it starts an attack.

public GameObject attackVfx

Field Value

GameObject

deathCue

Played when the entity dies.

public AudioCue deathCue

Field Value

AudioCue

deathVfx

Spawned where the entity dies.

public GameObject deathVfx

Field Value

GameObject

hitCue

Played when the entity takes damage.

public AudioCue hitCue

Field Value

AudioCue

hitVfx

Spawned on the entity when it takes damage.

public GameObject hitVfx

Field Value

GameObject

spawnCue

Played when the entity appears.

public AudioCue spawnCue

Field Value

AudioCue

spawnVfx

Spawned when the entity appears.

public GameObject spawnVfx

Field Value

GameObject