docs.unity3d.com
    Show / Hide Table of Contents

    Method ExtractKeyAndSubKey

    ExtractKeyAndSubKey(Object, out String, out String)

    Extracts main and subobject keys if properly formatted

    Declaration
    public static bool ExtractKeyAndSubKey(object keyObj, out string mainKey, out string subKey)
    Parameters
    Type Name Description
    Object keyObj

    The key as an object.

    String mainKey

    The key of the main asset. This will be set to null if a sub key is not found.

    String subKey

    The key of the sub object. This will be set to null if not found.

    Returns
    Type Description
    Boolean

    Returns true if properly formatted keys are extracted.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023