ConstructComponentFromBuffer(TypeIndex, void*)
Used by codegen. Create an instance of a component type from a given buffer of data
Read time 1 minuteLast updated 3 days ago
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 |