Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InstantiateWithCount(int)

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

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
protected virtual TList InstantiateWithCount(int count)

Parameters

count

Returns

Type

Description

T

Remarks

You MUST also override InstantiationKind to return
ConstructionType.PropertyBagOverride
for this method to be called.