Declaration
func Clone(out var createdEntity entity<Entity>, target entity)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | entity | Entity to be cloned |
Out
| Name | Type | Description |
|---|---|---|
| Created Entity | Entity | Created entity |
Clone the selected entity and all its properties in the original position
func Clone(out var createdEntity entity<Entity>, target entity)
go
| Name | Type | Description |
|---|---|---|
| Target | entity | Entity to be cloned |
| Name | Type | Description |
|---|---|---|
| Created Entity | Entity | Created entity |