Interface IVisitAdapter<TContainer, TValue> | Properties | 0.10.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVisitAdapter<TContainer, TValue>

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

    Namespace: Unity.Properties
    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 and 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
    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