Skip to content

Latest commit

 

History

History
53 lines (26 loc) · 777 Bytes

File metadata and controls

53 lines (26 loc) · 777 Bytes

Home > server > DefaultPlayerEntityController > attach

DefaultPlayerEntityController.attach() method

Called when the controller is attached to an entity.

Signature:

attach(entity: Entity): void;

Parameters

Parameter

Type

Description

entity

Entity

The entity to attach the controller to.

**Returns:**

void