Skip to main content

VirtualKeyboardSetup

A class in Root.Township, the global namespace.

Layout asset for the in-game virtual keyboard: its keys and whether each row is ordered.

Constructors​

MemberWhat it is
VirtualKeyboardSetup()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private VirtualKeyInfo[] keysInfoBacking field for KeysInfo, the keys of this layout.
private bool[] rowIsOrderedBacking field for RowIsOrdered, one flag per keyboard row. TouchScreenKeyboard sizes its row data from it.

Properties​

MemberWhat it is
VirtualKeyInfo[] KeysInfo { get; }The keys on the keyboard.
bool[] RowIsOrdered { get; }Per row, whether the keys keep their set order.

Used in​

Members of other types that take, return or hold a VirtualKeyboardSetup: