docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Init

    Init(IEnumerable<T>)

    Initialize the list of LabelEntries on this LabelingConfiguration. Should only be called immediately after instantiation.

    Declaration
    public void Init(IEnumerable<T> newLabelEntries)
    Parameters
    Type Name Description
    IEnumerable<T> newLabelEntries

    The LabelEntry values to associate with this LabelingConfiguration

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown once the LabelConfig has been used at runtime. The specific timing of this depends on the LabelConfig implementation.

    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)