Last known state of a player, still readable after their entity is gone.
Handed to onLeaveScene as a second argument, because getPlayer reads live ECS data and returns null once the player has left.
onLeaveScene
getPlayer
Last known state of a player, still readable after their entity is gone.
Handed to
onLeaveSceneas a second argument, becausegetPlayerreads live ECS data and returns null once the player has left.