TimedBehaviour


Declaration

public sealed class TimedBehaviour : MonoBehaviour

Description

A behavior that invokes timed events at a set interval and/or duration.

Properties

settingsThe settings of the timer.
eventsThe events invoked by the timer.
statsThe current stats of the timer (Read only).

Methods

RestartResets the elapsed time and re-enables the timer. This does not reset the tracked timer stats.