Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Visit<TSet, TValue>(ISetPropertyBag<TSet, TValue>, ref TSet)

Implement this method to accept visitation for a collection of properties.
Read time 1 minuteLast updated 11 days ago

Definition

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

Visit<T, U>(ISetPropertyBag<T, T>, T)

void Visit<TSet, TValue>(ISetPropertyBag<TSet, TValue> properties, ref TSet container) where TSet : ISet<TValue>

Parameters

The properties of the container.

container

T
The container being visited.

Remarks

This method is invoked by ISetPropertyBagAccept<TContainer>.Accept.