Declaración
func CreateLevelObject(out var createdEntity entity<LevelObject>, position Vector3, levelObject int)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Postion | Vector3 | The location where the object is spawned |
Level Object | Int | The created object type ID. Need to be registered in the asset registry before using it in the code script. |
Afuera
Nombre | Tipo | Descripción |
---|---|---|
Created Entity | LevelObject | Created scene object entity |