Skip to main content

TimerButton

A class in Root.Township, Alta.ScreenshotCamera.

Hand camera button that shows the self-timer value.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private bool emptyWhenZeroHide the number when the timer is 0.
private TextRenderer textUIThe text that shows the timer.

Methods​

MemberWhat it is
protected override void UpdateSettings(HandCamera handCamera)Shows the camera's current timer as two digits, or nothing when it is 0 and emptyWhenZero is set.