Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

SmartSettings

class in Unity.SmartStrings.Core.Settings

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Smart settings to be applied for parsing and formatting. SmartSettings are used to initialize instances. Properties should be considered as 'init-only' like implemented in C# 9. Any changes after passing settings as argument to CTORs may not have effect, unless explicitly mentioned.

Properties

Property Description
CaseSensitivity Determines whether placeholders are case-sensitive or not. The default is CaseSensitivityType.CaseSensitive.
Formatter Settings that configure formatting. Set only during initialization.
Parser Settings that configure parsing. Set only during initialization.

Public Methods

Method Description
GetCaseSensitivityComparer Gets the StringComparer that belongs to the SmartSettings.CaseSensitivity setting.
GetCaseSensitivityComparison Gets the StringComparison that belongs to the SmartSettings.CaseSensitivity setting.