Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IPropertyBag<TContainer>

Base typed interface for implementing property bags.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Interface
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public interface IPropertyBag<TContainer> : IPropertyBag

Methods

Method

Description

AcceptCall this method to invoke IPropertyBagVisitor.Visit with the strongly typed container.
CreateInstanceCreates and returns a new instance of
TContainer
.
GetPropertiesReturns an enumerator that iterates through all static properties for the type.
TryCreateInstanceTries to create a new instance of
TContainer
.

Inheritance