ConstructComponentFromBuffer(TypeIndex, void*)
Used by codegen. Create an instance of a component type from a given buffer of data
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static object ConstructComponentFromBuffer(TypeIndex typeIndex, void* data)
Parameters
Returns
Type | Description |
|---|---|
| Object | Boxed component instance |