M_MSCLoader_PopupSetting_AddTextArea - piotrulos/MSCModLoader GitHub Wiki

AddTextArea Method

Add Text Area where user can type any multiline text (string value returns on confirm)

Definition

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

C#

public <a href="T_MSCLoader_SettingsTextArea">SettingsTextArea</a> AddTextArea(
	string settingID,
	string name,
	string value,
	string placeholderText,
	bool visibleByDefault = true
)

Parameters

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

Return Value

SettingsTextArea
SettingsTextArea

See Also

Reference

PopupSetting Class
MSCLoader Namespace

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