docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Filter on Metadata

    Rule Engine
    Filter input GameObjects based on their Metadata (Component created by Asset Transformer at import time).

    Parameters

    Parameter Type Description
    metadataFilter MetadataFilter Choose between different predefined methods or create your custom regular expression.
    Then specify the string that will be used with the constraint method and the case sensitive parameter chosen.
    propertyFilter FilterStringConstraint Choose between different predefined methods or create your custom regular expression.
    Then specify the string that will be used with the constraint method and the case sensitive parameter chosen.
    matchingMethod StringConstrain Define which method you want to use for filtering
    inputString (String) String Provide a pattern to use for filtering by string
    caseSensitive Boolean Specify if the constraint is case sensitive or not.
    valueFilter FilterStringNumberConstraint Choose between different predefined methods or create your custom regular expression.
    Then specify the string that will be used with the constraint method and the case sensitive parameter chosen.
    matchingMethod StringAndNumberConstrain Define which method you want to use for filtering
    value String Provide a pattern to use for filtering by string or a number to compare with for filtering by comparison
    caseSensitive Boolean Specify if the constraint is case sensitive or not.
    filterMode FilterMode Filter In: Keep filtered GameObjects
    Filter Out: Remove filtered GameObjects
    includeSubhierachy Boolean Automatically pass all descendents of any GameObject that matches the filter
    In This Article
    Back to top
    Copyright © 2025 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)