Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Visit<TContainer, TList, TElement>(Property<TContainer, TList>, ref TContainer, ref TList)

Implement this method to accept visitation for a specialized list property.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

Visit<T, U, V>(Property<T, T>, T, T)

void Visit<TContainer, TList, TElement>(Property<TContainer, TList> property, ref TContainer container, ref TList list) where TList : IList<TElement>

Parameters

The property being visited.

container

T
The container being visited.

list

T
The list value.

Remarks

This method is invoked by IListPropertyAccept<TList>