TextStudioDefaultSettings
public class TextStudioDefaultSettings : ScriptableObjectGlobal Text Studio defaults.
Text Studio does not ship a default settings asset. Users can optionally create one at Text Studio’s canonical Resources path to customize project-wide defaults; otherwise the hard-coded defaults below are used.
Fields
Section titled “Fields”
defaultRevealMode
Section titled “defaultRevealMode”[Header("Defaults")][Tooltip("Default reveal mode for new text controllers.")]public RevealMode defaultRevealModeReturns
TextStudio.RevealMode
defaultPlacementMode
Section titled “defaultPlacementMode”[Tooltip("Default placement mode for new text controllers.")]public PlacementMode defaultPlacementModeReturns
TextStudio.PlacementMode
defaultCharDelay
Section titled “defaultCharDelay”[Header("Timing")][Tooltip("Default per-character reveal delay in seconds.")][Min(0)]public float defaultCharDelayReturns
System.Single
warnOnMissingTags
Section titled “warnOnMissingTags”[Header("Diagnostics")][Tooltip("Log warnings when tag/effect lookups fail.")]public bool warnOnMissingTagsReturns
System.Boolean
autoAddTMPOnHubReset
Section titled “autoAddTMPOnHubReset”[Header("Authoring")][Tooltip("When adding a TextStudioText hub to a GameObject with no TMP_Text, auto-add a TextMeshPro / TextMeshProUGUI sibling.")]public bool autoAddTMPOnHubResetReturns
System.Boolean
Methods
Section titled “Methods”
Refresh()
Section titled “Refresh()”public static void Refresh()Force the singleton to re-read from the latest project settings. Called by the TextStudioProjectSettings import callback whenever its asset changes.
Constructors
Section titled “Constructors”
TextStudioDefaultSettings()
Section titled “TextStudioDefaultSettings()”public TextStudioDefaultSettings()Properties
Section titled “Properties”
Instance
Section titled “Instance”public static TextStudioDefaultSettings Instance { get; }Global default settings. If a TextStudioProjectSettings asset exists and has been loaded, its values are applied on top. Otherwise, the hard-coded defaults are used.
Returns
TextStudio.TextStudioDefaultSettings