Instance Method

removeEntity:

Removes a GameplayKit entity from the list of entities managed by the scene.

Declaration

- (void)removeEntity:(GKEntity *)entity;

Parameters

entity

The entity to be removed from the scene.

See Also

Managing Entities and Components

entities

The list of GameplayKit entities managed by the scene.

- addEntity:

Adds a GameplayKit entity to the list of entities managed by the scene.