文档

Unity Engine

Unity Engine

IPropertyBag<TContainer>

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

Definition

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

Methods

Method

Description

AcceptCall this method to invoke Visit_1 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