docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetKeys

    GetKeys()

    Get a copy of the list of keys as an array.

    Declaration
    public string[] GetKeys()
    Returns
    Type Description
    string[]

    An array of strings containing all the keys.

    GetKeys(List<string>)

    Populate a list of strings with all the keys from this detail. Note: this returns the current state of keys for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    Declaration
    public void GetKeys(List<string> list)
    Parameters
    Type Name Description
    List<string> list

    The list to clear and fill with updated key data.

    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)