Skip to main content

LogicFloatChangeOnBoolSaveData

A class in Root.Township, Alta.Logic.

Save data for LogicFloatChangeOnBool, which moves a float between two values while powered by a bool.

Constructors​

MemberWhat it is
LogicFloatChangeOnBoolSaveData()Creates a LogicFloatChangeOnBoolSaveData with default values.

Fields​

MemberWhat it is
float currentProgressProgress (0 to 1) between the start and end values.
bool isMovingForwardWhether it is moving towards the end value.
LogicSaveData logicDataBacking field for LogicSaveData.
float moveSpeedPerSecSpeed of the change, in value units per second.
bool oneWayIf true it stops at the end instead of reversing.
float timeBeforeMovingSeconds to wait before moving.

Properties​

MemberWhat it is
LogicSaveData LogicSaveData { get; set; }The shared logic data.