Format
typescript
NetServer.CreateNewEntity(prefab_id, userdata, NetEntity?)class: NetServer
Description
Create a new entity for synchronizing information.
Parameters
| param_name | type | description |
|---|---|---|
| prefab_id | string | prefab id |
| userdata | string | User data |
| NetEntity? | callback | Callback |
Return
| type | description |
|---|---|
void |
