InstantiateArray
Creates a new instance of an array with the given count.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
InstantiateArray<T>(int)
Creates a new instance of an array with the given count.
public static TArray InstantiateArray<TArray>(int count = 0)
Parameters
The size of the array to instantiate.
Returns
Type | Description |
|---|---|
| T | The array newly created array. |
InstantiateArray<T>(Type, int)
Creates a new instance of an array with the given type and given count.
public static TArray InstantiateArray<TArray>(Type derivedType, int count = 0)
Parameters
Returns
Type | Description |
|---|---|
| T | The array newly created array. |