Declaration
func CreateFromPrefab(out var createdEntity entity<Entity>, prefab PrefabID)
go
Parameters
Input
Name | Type | Description |
---|---|---|
Prefab | PrefabID | Prefab ID |
Out
Name | Type | Description |
---|---|---|
Created Entity | Entity | Created Entity |
Using prefab as template to create entity
func CreateFromPrefab(out var createdEntity entity<Entity>, prefab PrefabID)
go
Name | Type | Description |
---|---|---|
Prefab | PrefabID | Prefab ID |
Name | Type | Description |
---|---|---|
Created Entity | Entity | Created Entity |