Skip to main content

SilenceAnimationEvents

A class in Root.Township, the global namespace.

Receiver for animation events (ActionIn, ActionOut, AnimationEnded, PlaySound) that does nothing except optional debug logging, so the events don't error.

Constructors​

MemberWhat it is
SilenceAnimationEvents()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private bool isLoggingTurns on debug logging of the received events.

Methods​

MemberWhat it is
void ActionIn()Logs "Action In" if logging is on.
void ActionOut()Logs "Action Out" if logging is on.
void AnimationEnded()Logs "Animation Ended" if logging is on.
void PlaySound()Logs "Play Sound" if logging is on. Plays no sound.