docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetFields

    GetFields(Type)

    Gets all registered fields of a runtime type.

    Declaration
    public static HashSet<string> GetFields(Type type)
    Parameters
    Type Name Description
    Type type

    Type of the runtime component. Must implement IComponentData.

    Returns
    Type Description
    HashSet<string>

    Returns a HashSet of field names.

    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)