Skip to main content

Menus, UI and platforms

Types in Alta.Menu, Alta.Meta, Alta.UI, Alta.UserInterface and the login and platform namespaces of Root.Township. 128 types, 0 with a hand-written page.

See the overview for what the columns mean and how this list is made.

Alta.FriendLocation​

TypeKindBasePublic membersDocumented in, or what it is
ChunkRegionenum23Named regions of the world (town buildings, overworld areas, caves, combat trials) used to tell friends where a player is, such as Oculus destinations.

Alta.Menu​

TypeKindBasePublic membersDocumented in, or what it is
AssistedSpawnCommandActionclassServerMultiCommandAction, IUseVirtualKeyboard8Client dev tools board control for an assisted spawn command: quantity buttons plus the virtual keyboard to type a prefab name, then a submit button that sends the spawn command.
AssistedSpawnCommandDefinitionclassServerCommandDefinitionBase, IHasDynamicArguments, IUsesMultipleButtons10Menu command asset that builds a spawn command for the local player from a chosen prefab and quantity, then routes it to the server. Created from the Township/Assisted Spawn asset menu.
ButtonEnumMenuSettingclassEnumMenuSettingBase0Client menu control for a choice setting with two physical buttons that step to the previous or next value.
CustomScrollerclassMonoBehaviour5A rotating drum menu driven by a SelectionLever: holding the lever off-centre spins the drum and steps through a list of string values. Used by the server creator.
EnumMenuSettingBaseclassMenuGameSetting<EnumSettingAccess>3A menu setting that steps through a list of string values (next and previous) and writes the chosen one to its setting.
IHasDynamicArgumentsinterfaceIUsesMultipleButtons3A multi-button menu command whose arguments are filled in at runtime by name, such as the assisted spawn command's prefab and quantity.
IProvideEnumerable<T>interface2Something that supplies a changing list of values to a menu, such as FriendSelector feeding a ScrollerSelector on the same object.
IUsesMultipleButtonsinterface2A menu command shown as a row of buttons, one per label.
MenuGameSettingabstract classMonoBehaviour1Base for an in-game menu widget that shows one game setting. The generic MenuGameSetting<T> does the work.
MenuGameSetting<T>abstract classMenuGameSetting1Base for one setting row in the in-game settings panel, showing a setting of type T. Client only. Hides itself if the setting isn't valid on this platform.
MenuToggleSettingclassMenuGameSetting<ToggleGameSettingAccess>0Client menu control for an on/off setting, driven by a selection lever. Colours its label and fires events when turned on or off.
QamOptionAsButtonCommandclassServerCommandDefinitionBase1Client: a menu command that runs a quick access menu action, as if picked from that menu.
ScrollerEnumMenuSettingclassEnumMenuSettingBase0Client menu control for a choice setting shown on a rotating drum. Holding a lever off centre spins the drum and steps through the values.
ScrollerSelectorclassMonoBehaviour4Menu wheel that scrolls through a list of text values with a lever. Gets its values from an IProvideEnumerable<string> on the same object.
ServerComboCommandDefinitionclassServerCommandDefinitionBase2A menu command that sends a list of console commands to the server one after another, each after the last one's result comes back. Client side.
ServerCommandActionclassMenuGameSetting2Client menu button that runs one server command definition, with a short cooldown shared by all such buttons.
ServerCommandDefinitionclassServerCommandDefinitionBase2Asset for a menu entry that sends one fixed console command to the server. Created from the Township, Quick Access Menu, Field Access menu.
ServerCommandDefinitionBaseabstract classSettingsFieldAccess1Base for quick access menu settings that run a server command when used, such as ServerCommandDefinition, ServerMultiOptionCommandDefinition and AssistedSpawnCommandDefinition.
ServerMultiCommandActionclassMenuGameSetting1Client menu control that builds one button per option of a multi-option server command and sends the chosen option. Base for AssistedSpawnCommandAction.
ServerMultiOptionCommandDefinitionclassServerCommandDefinitionBase, IUsesMultipleButtons4Menu command asset with several fixed commands, one per button. The chosen one is routed to the server when run.
StandardFloatAsEnumclassMenuGameSetting<FloatGameSettingsAccess>3Client menu control that shows a float setting as a drum of named choices, spun with a lever like ScrollerEnumMenuSetting. The choices come from an EnumFloatGameSettingsAccess or its own lists.

Alta.Meta.Friends​

TypeKindBasePublic membersDocumented in, or what it is
Friendstruct2A friend entry: the user's ID and display name.
FriendsManagerclassLoggedInTool6Main menu friends board: lists friends or friend requests from the Alta API as user tokens on a rope board. Client side.
FriendsManager.Tabenum3The tabs of the friends menu: friends, friend requests and Oculus friends.
IInitializableinternal interface1Internal interface for something with an Initialize step.
UserTokenclassMonoBehaviour4One user entry on the friends board, with optional accept and reject buttons.

Alta.Meta.Friends.Platform​

TypeKindBasePublic membersDocumented in, or what it is
IPlatformFriendServiceinterface3Platform (Oculus) friend list service, got from InterfaceResolver.IPlatformFriendService. In this build the resolver returns null, so there is no implementation.

Alta.Meta.UI​

TypeKindBasePublic membersDocumented in, or what it is
AutoCompleteclass5Case-insensitive autocomplete over an IAutoCompletionSource: prefix matches first, then other matches containing the input.
ButtonclassMonoBehaviour13A simple button component for the in-game (meta) UI. Holds a label, enabled flag and pressed state, raises events, and plays press and release sounds if set.
ButtonCollectionclassMonoBehaviour2A group of menu buttons where one is selected at a time, like tabs. The selected button is disabled until another is pressed.
ButtonEventsclassMonoBehaviour0Exposes a game Button's press, release and enabled changes as Unity events for wiring in the inspector.
ButtonSettingsclassScriptableObject0An empty ScriptableObject asset for UI button settings (menu Township/UI/Button Settings). It holds nothing in this build.
ButtonWithEventsclassButton0A menu Button that also fires Unity events set in the inspector when pressed, released, enabled or disabled.
ConfirmPopupPanelclassPanel3Client: menu popup with a message and confirm and cancel buttons. Call Setup with the text and callbacks, then show it; it hides itself after either button.
IAutoCompletionSourceinterface1Something that supplies a list of strings for an autocomplete text field, such as object names in a folder.
InputFieldclassMonoBehaviour10A text input field in the game's world-space menus, showing its text through a TextRenderer with an optional caret and secret (password) mode.
InputFieldWithKeyboardclassMonoBehaviour, IUseVirtualKeyboard9Client: connects a UI InputField to the in-world VR TouchScreenKeyboard, showing it at a marker and passing typed text back.
ListElementclassMonoBehaviour0Empty component, probably a marker for items in a UI list.
ListElementWithButtonclassTextListElement5A text list entry with a button. Pressing the button selects it.
ListElementWithButtonAndExtraTextclassListElementWithButton1A list row with a button and a second text field.
ListElementWithData<TData>abstract classListElementWithButton2Base for a list row with a button that holds a data object and shows text made from it. Subclasses say how to turn the data into text.
LoadingUIclassMonoBehaviour1A loading indicator in the menu UI that can be shown or hidden.
NavigateToclassMonoBehaviour0Switches the UI to a given panel when a button is released.
ObjectNamesInFolderclassScriptableObject, IAutoCompletionSource2Asset that supplies a list of object names as console auto-completions. Created from the Township, Object Names In Folder menu.
OptionsConfigclass4One option button for a menu window's options popup: label, action to run and button style. Used by friend panels for things like Revoke.
OptionsPanelclassPanel1Menu popup that shows a message and a column of option buttons; pressing one runs its action and closes the panel.
OptionsPanelButtonConfigclass2Pairs a UI button type with the button prefab an OptionsPanel uses for it.
PanelclassMonoBehaviour6One page of a meta UI Window. Shows or hides itself, playing an optional scale animation, and raises StateChanged.
PanelComponentabstract classMonoBehaviour3Base for components that fill a meta UI Panel with data. Refreshes when the panel opens if marked stale, and marks itself stale on a timer (30 seconds by default).
PopupclassMonoBehaviour0Empty MonoBehaviour with no code; probably a marker on popup objects.
RecentPlayerPanelListElementclassListElementWithButtonAndExtraText0Row in the recent players list: username, server name and a rough time since you played together.
RopeUIListclassUIList5A UI list whose rows are laid out on a RopePoweredElementBoard, so the player scrolls by pulling a rope.
ScalingFadeAnimatorclassMonoBehaviour, UIActionLock.ILockUIAction2Client UI: scales its targets up along a curve when enabled, and can scale them down then switch to another object. Locks UI actions while animating.
SimpleTextPanelclassPanel1Client UI panel that just shows a block of text.
SimpleUIListclassUIList1A UIList that stacks its elements in a column with a fixed vertical gap. Client UI.
TabclassPanel0Client: a menu panel that shows and hides by turning its game object on and off, with no animation.
TabbedPanelclassPanel, IBuildRendererPostBake, IBuildBakeable2A UI Panel with a set of Tabs, one active at a time. Client UI.
TabletToggleclassMonoBehaviour1Toggles a tablet menu between its normal home panel and an extended home panel, swapping which home button and player list back button are shown. Client UI.
TextButtonclassButtonWithEvents1A menu button whose label is drawn by a TextRenderer, kept in step with the button's Label.
TextListElementclassListElement1A ListElement that just holds a text renderer, for plain text rows in a UI list.
TouchScreenButtonclassButton, ITouchScreenButton1A UI Button with a touch area size, for the in-world touch screen menus.
TouchScreenButtonVisualclassMonoBehaviour0Visual feedback for a touch screen button: sets its material and label from the button's TouchScreenButtonVisualSettings, changes alpha when pressed and plays a grow animation. Client UI.
TouchScreenButtonVisualSettingsclassButtonSettings5Asset with the look of a touch screen button: alpha when idle and pressed, a grow animation and a material. Client.
UIActionLockstatic class3A simple global lock so only one UI action runs at a time. An object implementing ILockUIAction takes the lock and must release it with Unlock.
UIActionLock.ILockUIActioninterface0Marker for an object that can take the global UI action lock in UIActionLock, so only one menu action runs at a time. Has no members.
UIButtonTypeenum2Style of a meta UI button: normal, or bad (probably for destructive or negative actions).
UIListabstract classMonoBehaviour6Base for a list of elements in the game's world-space menus. Subclasses decide how elements are laid out.
WindowclassMonoBehaviour13Client: a menu screen made of panels. Shows one panel at a time plus popups (confirm, options, loading).

Alta.Meta.UI.ServerManagement​

TypeKindBasePublic membersDocumented in, or what it is
APIStatusManagerstatic class1Client: fetches status messages from the Alta status API and shows each new one that matches the player's platform and region as a popup, once per session.
APIStatusNotificationclassUINotification, IEquatable<APIStatusNotification>9A notification list entry for a status message from the Alta API. Has no accept or decline buttons.
CreateGroupInfoPanelclassMonoBehaviour0Keeps an info object visible only while at least one of a set of panels is active.
CreateServerPanelclassServerDetailsPanel1Client main menu panel for creating a new server (group) through the Alta API, with name, description, join type and region.
EditServerPanelclassServerDetailsPanel1Main menu panel for editing a joined server's name, description and join type through the web API.
FriendRequestNotificationclassUINotification, IEquatable<FriendRequestNotification>9A notification list entry for an incoming friend request, with accept and decline that call the social service.
FriendsInvitesPanelclassPanelComponent2Main menu list of friend requests you have sent, with an option to revoke each one.
FriendsListPanelclassPanelComponent2Main menu friends list: add friends by username, unfriend them or invite them to a server.
FriendsRequestsPanelclassPanelComponent2Main menu list of friend requests sent to you, with accept and reject options.
GroupInfoTabclassGroupPage2Server management tab showing a group's name, description, type and member count, with leave and invite buttons.
GroupInviteNotificationclassUINotification, IEquatable<GroupInviteNotification>9A notification list entry for an invite to join a group (server), with accept and reject.
GroupMemberListElementclassListElementWithData<GroupMember>0Row in a group's member list, showing the member's username.
GroupMembersPageclassGroupPage2Client menu page listing a group's members, with kick and ban options and an invite-by-username field. A GroupPage in the server management UI.
GroupPageabstract classPanelComponent1Base for a page in the server management UI that shows one joined group. Client only.
GroupPermissionsEnablerclassMonoBehaviour0Main menu UI helper that shows or hides objects depending on whether you hold the given permissions in the group a SelectedGroupPanel is showing. Client only.
InboxPanelclassPanelComponent2Client menu panel showing the player's inbox: group invites, friend requests, API status messages and player reports, with accept and decline buttons.
IncomingGroupRequestPageclassGroupPage1Client group page listing requests to join the group, each with accept and reject buttons.
InviteUserToGroupPanelclassPanelComponent3Client panel that lets the player pick one of their groups to invite a given user to. Only groups where they have invite permission are listed.
InviteUserToGroupViaFriendsPanelclassPanelComponent4Client: server management panel listing the player's friends so they can be invited to a group. On Quest it also lists Oculus friends without a linked account.
JoinedGroupListElementclassListElementWithData<JoinedGroupManager>1Client list row for a group the player has joined, showing its name and an invite button.
JoinedGroupsListclassPanelComponent1Main menu panel component that lists the groups (servers) you have joined, fetched from the web API. Client only.
ListElementWith2ButtonsclassListElementWithButton1Client list row with a second button, used for things like accept and reject on group join requests.
LoggedInWindowclassMonoBehaviour0Switches a main menu window to its logged-in panel once the player is logged in. Client only.
OculusFriendsListPanelclassPanelComponent2Client panel meant to list Oculus friends and send them friend requests. In this build SetupFriendsList is empty, so the list never fills.
OutgoingGroupInvitesPageclassGroupPage1Client group page listing invites the group has sent, each with a button to revoke it.
PlayerReportBaseNotificationabstract classUINotification5Base for main menu inbox notifications about player reports, where accepting bans the reported user from that server through the Alta API.
PlayerReportInboxInfoPanelclassMonoBehaviour1Client: server management panel that shows one player report from the API: who was reported, why, by whom, when, and any action taken.
PlayerReportNotificationclassPlayerReportBaseNotification, IEquatable<PlayerReportNotification>10Inbox notification for one player report. Accept bans the reported user; decline ignores the report.
PlayerReportSummaryNotificationclassPlayerReportBaseNotification, IEquatable<PlayerReportSummaryNotification>10Notification summarising the reports against one user, shown by the latest report. Accept bans the user; there is no decline.
PlayerReportSummaryPanelclassMonoBehaviour1Client: server management panel that sums up all reports against one player: total count, counts per reason, reporters, latest date and any ban.
RecentPlayersListPanelclassPanelComponent2Client panel listing players the user recently played with, with options to add them as a friend or report them.
ReportsPanelclassPanelComponent2Client panel listing player report summaries from the API, with accept and decline buttons. Works like InboxPanel but only for reports, probably for moderators.
SelectedGroupPanelclassMonoBehaviour4Main menu panel for one group (server) the player has joined, with members, info, request and invite pages. Uses Alta's web API, which is gone.
ServerDetailsPanelabstract classPanelComponent0Client: base for the create server and edit server menu panels. Holds the name, description and join type inputs and shows a summary that updates as you type.
ServerDetailsPanel.ButtonDataclass3A join type choice on the create and edit server panels: its button, the group type it stands for and a label.
ServerRegionsstatic class4String constants for the region names used when picking where a server runs.
UINotificationabstract class11Base for a notification shown in the menu's server management panel, such as a friend request, group invite or API status. Client only.

Alta.OculusLogin​

TypeKindBasePublic membersDocumented in, or what it is
AccountNameTextReplacerinternal classMonoBehaviour2Client UI component on the login screen that fills in the device account name and the Alta account name text.
AltaAccountRegistererAndLinkerinternal classLoginAndRegisterHelper3Client: the in-VR account registration screen. Checks username, email and password fields live against the API, registers the account, then logs in (with platform credentials if supported).

Alta.PlatformSpecific.Oculus​

TypeKindBasePublic membersDocumented in, or what it is
ErrorTestTypeenum5Test cases for PlatformLaunchDetails, which builds fake Oculus launch details for a banned, private, wrong version or debug launch.
OculusDestinationControllerclassMonoBehaviour, IBuildRendererBakeable, IBuildBakeable0Client component that keeps Quest rich presence up to date: the region the player is in, the server deep link and whether there is a free slot. Removes itself on other platforms.
PlatformLaunchDetailsclass10Fake Oculus launch details for testing deep link joins. The constructor fills in a canned case (banned, private, wrong version, debug) with a fixed server ID.
PlatformLaunchResultenum7Oculus launch result codes (success, room full, game started, room not found, user declined, other), with the Oculus string in each Description.

Alta.SocialTablet​

TypeKindBasePublic membersDocumented in, or what it is
RecentPlayersPageclassPanelComponent1Social tablet page that lists players you recently met on the current server, a page at a time. Client only.

Alta.UI​

TypeKindBasePublic membersDocumented in, or what it is
DynamicMaskclassMonoBehaviour11Paints a UI mask texture from code: stamps RGBA32 textures into a CPU colour buffer, then uploads it with a compute shader. Needs a Mask and RawImage on the same object.
RepairBoxDevCommandenum2Dev tool command sent from RepairBoxDevControlPanel to the server: instantly build (repair) or destroy (unrepair) a repair box.
RepairBoxDevControlPanelclassMonoBehaviour0Developer-only panel on a repair box with build and destroy buttons. It deletes itself unless the local player is a developer.
TextureModeenum4How DynamicMask.AddTexture combines a texture with the mask: add, subtract, multiply or replace.
VersionDisplayclassMonoBehaviour0Shows the game's build version on a 3D text label. Also runs in the editor.

Alta.UserAuthentication​

TypeKindBasePublic membersDocumented in, or what it is
GeneralLoadingObjectManagerclassTempSceneObject1Runs the loading scene: tracks the headset, sets flat lighting, spins a frame and cycles loading tips. Client only. DisplayMessage shows a message to the player there.

Alta.UserInterface​

TypeKindBasePublic membersDocumented in, or what it is
FeedbackInteractionPointclassLabelledInteractPoint0A labelled interact point whose box changes colour when pressed and when disabled.
LabelledInteractPointclassSimpleInteractPoint1A SimpleInteractPoint with a text label.
SimpleInteractPointclassInteractable3A basic button-style Interactable that raises Interacted on grab and Released on let go, and can be disabled.

Alta.UserInterface.SocialTablet​

TypeKindBasePublic membersDocumented in, or what it is
SocialTabletActionSyncStructinternal struct4Message a client sends from the social tablet's recent player page after reporting, banning or unbanning someone. The server looks up the target and raises the matching console event.
SocialTabletActionTypeenum3Moderation action sent from the social tablet's recent players page: report, ban or unban.

Alta.XR​

TypeKindBasePublic membersDocumented in, or what it is
TrackedDeviceenum3Tracked XR devices: the headset and the left and right controllers.
VRSetupstatic class2Static VR helpers: sets every XR input subsystem to floor tracking and copies tracked pose data onto transforms. Client side.
VRTrackedDeviceclassIDisposable3Client: drives a transform from a tracked VR pose (head or hand) after each input update and before rendering. Make one with AddTracking, dispose it to stop.
VRTrackedDevice.PositionPostProcessordelegate0Callback that can change a tracked position, passed by ref, before VRTrackedDevice applies it.