Skip to main content

AnimationBasedTrigger

A class in Root.Township, the global namespace.

Base component with a virtual Run for animation events to call. AnimationBasedEffect is the only subclass.

Constructors​

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

Methods​

MemberWhat it is
virtual void Run()Does nothing here; subclasses override it.