Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / createNetworkIdentityComponent

Function: createNetworkIdentityComponent() ​

ts
function createNetworkIdentityComponent(world, entityId): NetworkIdentityComponent;

Defined in: factories/components/NetworkFactory.ts:10

Parameters ​

ParameterType
worldWorld
entityIdnumber

Returns ​

NetworkIdentityComponent