Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Instantiate()

Implement this method to provide custom type instantiation for the container type.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
protected virtual TContainer Instantiate()

Returns

Type

Description

T

Remarks

You MUST also override PropertyBag<TContainer>.InstantiationKind to return
ConstructionType.PropertyBagOverride
for this method to be called.