M_MSCLoader_Settings_AddTextBox - piotrulos/MSCModLoader GitHub Wiki

AddTextBox(String, String, String, String, Boolean) Method

Add TextBox where user can type any text

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346

C#

public static <a href="T_MSCLoader_SettingsTextBox">SettingsTextBox</a> AddTextBox(
	string settingID,
	string name,
	string value,
	string placeholderText,
	bool visibleByDefault = true
)

View Source

Parameters

  String
Your unique settings ID
  String
Name of text box
  String
Default TextBox value
  String
Placeholder text (like "Enter text...")
  Boolean  (Optional)
Visible by default (default=true)

Return Value

SettingsTextBox
SettingsTextBox

See Also

Reference

Settings Class
AddTextBox Overload
MSCLoader Namespace

⚠️ **GitHub.com Fallback** ⚠️