Home > server > DefaultPlayerEntityController > attach
Called when the controller is attached to an entity.
Signature:
attach(entity: Entity): void;|
Parameter |
Type |
Description |
|---|---|---|
|
entity |
The entity to attach the controller to. |
void
Home > server > DefaultPlayerEntityController > attach
Called when the controller is attached to an entity.
Signature:
attach(entity: Entity): void;|
Parameter |
Type |
Description |
|---|---|---|
|
entity |
The entity to attach the controller to. |
void