기술 자료

Unity Engine

Unity Engine

IPropertyBag<TContainer>

Base typed interface for implementing property bags.
읽는 시간 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