I have a GKAgent2D
component attached to my GKEntity
, is there any baked in way of finding out when the GKEntity
has began and ended following the GKPath
assigned to it in the GKGoal(toFollowPath:…)
goal?
I need to despawn my sprite once it reaches the end of the path.