文档

Unity Engine

Unity Engine

IPropertyBag<TContainer>

Base typed interface for implementing property bags.
阅读时间1 分钟最后更新于 1 个月前

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