Skip to main content

AccessibilitySeatedStandingBoard

A class in Root.Township, Features.Main_Menu.Scripts.

Main menu popup board with seated and standing buttons. In this code the buttons only report the choice to SignupAnalyticsReporter.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private AnalyticalButton seatedButtonThe seated choice button.
private AnalyticalButton standingButtonThe standing choice button.

Methods​

3 private and internal methods
MemberWhat it is
private void Awake()Hooks the two buttons.
private async void Seated()Reports "Seated" and finishes the accessibility screen in sign-up analytics.
private async void Standing()Reports "Standing" and finishes the accessibility screen in sign-up analytics.