Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Accept

Call this method to invoke ITypeVisitor.Visit with the strongly typed container type.
Read time 1 minuteLast updated 12 days ago

Definition

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

Accept(ITypeVisitor)

Call this method to invoke ITypeVisitor.Visit with the strongly typed container type.
void Accept(ITypeVisitor visitor)

Parameters

The visitor being run.

Accept(IPropertyBagVisitor, Object)

Call this method to invoke IPropertyBagVisitor.Visit with the strongly typed container for the given
container
object.
void Accept(IPropertyBagVisitor visitor, ref object container)

Parameters

The visitor to invoke the visit callback on.

container

The container being visited.