Skip to content

TextStudioDefaultSettings

ClassTextStudioTextStudio
public class TextStudioDefaultSettings : ScriptableObject

Global 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.

public RevealMode defaultRevealMode

Returns

TextStudio.RevealMode

public PlacementMode defaultPlacementMode

Returns

TextStudio.PlacementMode

public float defaultCharDelay

Returns

System.Single

public bool warnOnMissingTags

Returns

System.Boolean

public bool autoAddTMPOnHubReset

Returns

System.Boolean

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.

public TextStudioDefaultSettings()

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