Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Accept<TContainer>(IListPropertyVisitor, Property<TContainer, TList>, ref TContainer, ref TList)

Call this method to invoke IListPropertyVisitor.Visit.
Read time 1 minuteLast updated 10 days ago

Definition

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

Accept<T>(IListPropertyVisitor, Property<T, T>, T, T)

void Accept<TContainer>(IListPropertyVisitor visitor, Property<TContainer, TList> property, ref TContainer container, ref TList list)

Parameters

The visitor being run.

The property being visited.

container

T
The container being visited.

list

T
The list value.

Remarks

This method is used to join the container type and element type.