Skip to main content

TimedActionComponent

An abstract class in Root.Township, Alta.Intelligence.

Base for a creature action component that runs for a set duration.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private float durationBacking field for Duration (default 5 seconds).

Properties​

MemberWhat it is
float Duration { get; }How long the action runs, in seconds probably. 5 by default.