기술 자료

Unity Engine

Unity Engine

WhiteSpace

Controls how white space and line breaks within an element's text are handled.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public enum WhiteSpace

Fields

Value

Description

NormalSequences of whitespace will collapse into a single whitespace. Text will wrap when necessary. This is the default behavior.
NoWrapSequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line.
PreWhitespace is preserved. Text will only wrap on line breaks.
PreWrapWhitespace is preserved. Text will wrap when necessary.