Alignment
Alignment inserts spaces into the output to ensure consistent length. Positive numbers insert spaces to the left, to right-align the text. Negative numbers insert spaces to the right, to left-align the text. This should only work with the Default Formatter, but is optional with custom formatters. This is primarily for compatibility with String.Format.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Property
- Namespace: Unity.SmartStrings.Core.Extensions
- Assembly: UnityEngine.SmartStringsModule
int Alignment { get; }