docs.unity3d.com
    Show / Hide Table of Contents

    Interface IPropertyBag

    Base untyped interface for implementing property bags.

    Namespace: Unity.Properties
    Syntax
    public interface IPropertyBag

    Methods

    Accept(IPropertyBagVisitor, ref Object)

    Call this method to invoke Visit<TContainer>(IPropertyBag<TContainer>, ref TContainer) with the strongly typed container for the given object.

    Declaration
    void Accept(IPropertyBagVisitor visitor, ref object container)
    Parameters
    Type Name Description
    IPropertyBagVisitor visitor

    The visitor to invoke the visit callback on.

    Object container

    The container being visited.

    Accept(ITypeVisitor)

    Call this method to invoke Visit<TContainer>() with the strongly typed container type.

    Declaration
    void Accept(ITypeVisitor visitor)
    Parameters
    Type Name Description
    ITypeVisitor visitor

    The visitor being run.

    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