EntityFactory:Create
EntityFactory:Create(entityData: DataContainer, transform: LinearTransform): Entity | Component | nil
Parameters
Name | Type | Description |
---|---|---|
entityData | DataContainer | |
transform | LinearTransform |
Returns
Type | Description |
---|---|
Entity | Component | nil |
Example
Hooks:Install('EntityFactory:Create', 1, function(hook, entityData, transform)
-- Do stuff here.
end)
Last modified May 2, 2022: Add changelog for build 18616 (95be163f)