Component:TimeIntDriver

From Resonite Wiki
Revision as of 21:28, 12 August 2021 by imported>Xekri
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
TimeIntDriver component as seen in the Scene Inspector

Intoduction

The TimeIntDriver Component drives the Int value specified in Target based on the current time, modified by the specified parameters.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Scale Float Time scale in relation to time in seconds, where 1.0 means Target will increment once per second.
Repeat Int Once Target reaches this value, it will reset to 0 and restart.
PingPong Bool Causes Target to reverse direction when it reaches 0 or the value in Repeat, instead of restarting.
Target Int The value to be driven.

Behavior

Examples

Related Components