docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PropertyBagUtility

    Helper methods to query an IPropertyBag<TContainer>.

    Inheritance
    object
    PropertyBagUtility
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Properties
    Assembly: Unity.Properties.dll
    Syntax
    public static class PropertyBagUtility

    Methods

    HasProperty<TContainer>(IPropertyBag<TContainer>, string)

    Checks if the given IPropertyBag<TContainer> has any property with the given name.

    Declaration
    public static bool HasProperty<TContainer>(this IPropertyBag<TContainer> propertyBag, string name)
    Parameters
    Type Name Description
    IPropertyBag<TContainer> propertyBag
    string name
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    TContainer
    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)