Skip to content

Format

typescript
NetServerSender.CreateNewEntity(prefab_id, entity?)

class: NetServerSender

Description

Create a new entity for synchronizing information.

Parameters

param_nametypedescription
prefab_idstringprefab id
entity?callbackCallback

Return

typedescription
void

Code Example