Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Accept<TContainer>(ISetPropertyVisitor, Property<TContainer, TSet>, ref TContainer, ref TSet)

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

Definition

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

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

void Accept<TContainer>(ISetPropertyVisitor visitor, Property<TContainer, TSet> property, ref TContainer container, ref TSet set)

Parameters

The visitor being run.

The property being visited.

container

T
The container being visited.

set

T
The set value.

Remarks

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