Entity:deserialize
Deserializes Components onto the Entity from the array portion of serialized data.
Deserializes Components onto the Entity from the array portion of serialized data.
Component classes must already be registered. Does not restore key; World:deserialize handles keys separately.
entity:deserialize( data )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
data |
table | Serialized Entity data (array of component blobs; may include .key when loading outside World) |