M_MSCLoader_PopupSetting_AddTextBox_1 - piotrulos/MSCModLoader GitHub Wiki
Add TextBox where user can type any text (string value returns on confirm)
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public <a href="T_MSCLoader_SettingsTextBox">SettingsTextBox</a> AddTextBox(
string settingID,
string name,
string value,
string placeholderText,
ContentType contentType,
bool visibleByDefault = true
)
- String
- Your unique settings ID
- String
- Name of text box
- String
- Default TextBox value
- String
- Placeholder text (like "Enter text...")
- ContentType
- InputField content type
- Boolean (Optional)
- Show text box by default (default true)
SettingsTextBox
SettingsTextBox