Component:serialize
Callback for when the Component is serialized as part of an Entity.
Callback for when the Component is serialized as part of an Entity.
data = component:serialize()Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
data |
table|nil | Serialized data, or nil to omit this Component |