Interface IVisit | Properties | 1.1.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVisit

    Implement this interface to handle visitation for all properties.

    Namespace: Unity.Properties.Adapters
    Syntax
    public interface IVisit : IPropertyVisitorAdapter
    Remarks
    IVisit<TContainer, TValue> IVisit<TValue>

    Methods

    Visit<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer, ref TValue)

    Invoked when the visitor encounters any property.

    Declaration
    VisitStatus Visit<TContainer, TValue>(Property<TContainer, TValue> property, ref TContainer container, ref TValue value)
    Parameters
    Type Name Description
    Property<TContainer, TValue> property

    The property being visited.

    TContainer container

    The container being visited.

    TValue value

    The value being visited.

    Returns
    Type Description
    VisitStatus

    The return status of the adapter.

    Type Parameters
    Name Description
    TContainer

    The container type being visited.

    TValue

    The value type being visited.

    Back to top
    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