文档

Unity Engine

Unity Engine

SmartSettings

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class SmartSettings

Properties

Property

Description

CaseSensitivityDetermines whether placeholders are case-sensitive or not. The default is CaseSensitivityType.CaseSensitive.
FormatterSettings that configure formatting. Set only during initialization.
ParserSettings that configure parsing. Set only during initialization.

Methods

Method

Description

GetCaseSensitivityComparerGets the StringComparer that belongs to the SmartSettings.CaseSensitivity setting.
GetCaseSensitivityComparisonGets the StringComparison that belongs to the SmartSettings.CaseSensitivity setting.