M_MSCLoader_Settings_AddText_1 - piotrulos/MSCModLoader GitHub Wiki

AddText(String, TextAlignment, Boolean) Method

Add just a text

Definition

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

C#

public static <a href="T_MSCLoader_SettingsText">SettingsText</a> AddText(
	string text,
	TextAlignment textAlignment,
	bool visibleByDefault = true
)

View Source

Parameters

  String
Just a text (supports unity rich text)
  TextAlignment
Text alignment (Left, Center, Right)
  Boolean  (Optional)
Visible by default (default=true)

Return Value

SettingsText
SettingsText

See Also

Reference

Settings Class
AddText Overload
MSCLoader Namespace

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