文档

Unity Engine

Unity Engine

FormatterSettings

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

Definition

public class FormatterSettings

Properties

Property

Description

AlignmentFillCharacterCharacter used to pre-align or post-align items, for example
{Placeholder,10}
for an alignment width of 10. The default is the space character (0x20).
ErrorActionBehavior that the SmartFormatter applies when a formatting error occurs. The default is FormatErrorAction.ThrowError.