Contents

addEntity(_:)

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

Declaration

func addEntity(_ entity: GKEntity)

Parameters

  • entity:

    The entity to be added to the scene.

See Also

Managing Entities and Components