Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PropertyContainer

The PropertyContainer class is used as the entry point to operate on data containers using properties.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Class
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public static class PropertyContainer

Static Methods

Method

Description

AcceptVisit the specified
container
using the specified
visitor
.
GetPropertyGets an IProperty on the specified container for the given PropertyPath.
GetValueGets the value of a property by name.
IsPathValidReturns
true
if a property exists at the specified PropertyPath.
SetValueSets the value of a property by name to the given value.
TryAcceptTries to visit the specified
container
by ref using the specified
visitor
.
TryGetPropertyGets an IProperty on the specified container for the given PropertyPath.
TryGetValueGets the value of a property by name.
TrySetValueTries to set the value of a property at the given path to the given value.