public void OnTravelerReachTargetPathEnd (PathNode pathNode) { effectsManagerRef.OnTravelerReachTargetPathEnd (pathNode.transform.localPosition); targetPathLength = pathNode.GetDistanceFromSourceNode (0); scoreText.text = "Distance: " + ((int)targetPathLength); celestaAudio.Play (); sparkleAudio.Play (); }