Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Accept<TContainer>(IDictionaryPropertyVisitor, Property<TContainer, TDictionary>, ref TContainer, ref TDictionary)

Call this method to invoke Visit{TContainer, TDictionary, TKey, TValue}.
Read time 1 minuteLast updated 9 days ago

Definition

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

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

void Accept<TContainer>(IDictionaryPropertyVisitor visitor, Property<TContainer, TDictionary> property, ref TContainer container, ref TDictionary dictionary)

Parameters

The visitor being run.

The property being visited.

container

T
The container being visited.

dictionary

T
The dictionary value.

Remarks

This method is used to join the container, the key and the value type.