Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary>, ref TContainer, ref TDictionary)

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

Definition

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

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

void Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary> property, ref TContainer container, ref TDictionary dictionary) where TDictionary : IDictionary<TKey, TValue>

Parameters

The property being visited.

container

T
The container being visited.

dictionary

T
The dictionary value.

Remarks

This method is invoked by IDictionaryPropertyAccept<TDictionary>