Skip to main content

ButtonEnumMenuSetting

A class in Root.Township, Alta.Menu.

Client menu control for a choice setting with two physical buttons that step to the previous or next value.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private PhysicalButton nextPhysical button that moves to the next value.
private PhysicalButton previousPhysical button that moves to the previous value.

Methods​

1 private and internal method
MemberWhat it is
private void Awake()Hooks the buttons to GoToNextValue and GoToPreviousValue.