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.
Adds a GameplayKit entity to the list of entities managed by the scene.
func addEntity(_ entity: GKEntity)The entity to be added to the scene.