docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IVisitAdapter<TContainer, TValue>

    Implement this interface to intercept the visitation for a specific TContainer and TValue pair.

    Namespace: Unity.Properties
    Assembly: Unity.Properties.dll
    Syntax
    public interface IVisitAdapter<TContainer, TValue>
    Type Parameters
    Name Description
    TContainer
    TValue

    Methods

    Visit<TProperty>(IPropertyVisitor, TProperty, ref TContainer, ref TValue, ref ChangeTracker)

    Invoked when the visitor encounters specific a TContainer and TValue pair.

    Declaration
    VisitStatus Visit<TProperty>(IPropertyVisitor visitor, TProperty property, ref TContainer container, ref TValue value, ref ChangeTracker changeTracker) where TProperty : IProperty<TContainer, TValue>
    Parameters
    Type Name Description
    IPropertyVisitor visitor
    TProperty property
    TContainer container
    TValue value
    ChangeTracker changeTracker
    Returns
    Type Description
    VisitStatus
    Type Parameters
    Name Description
    TProperty
    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)