docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property ExpansionRules

    ExpansionRules

    Rules based on string length, that determine the amount to append onto the input string as a ratio of its length. For example, 0.3 would add an extra 30% onto the length. Note: Negative values are ignored. When the newly calculated length is not whole then the next largest whole number will be used. Rules can also be added using SetConstantExpansion(float) and AddExpansionRule(int, int, float).

    Declaration
    public List<Expander.ExpansionRule> ExpansionRules { get; }
    Property Value
    Type Description
    List<Expander.ExpansionRule>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)