protected void GoalReachedNode(Node node) { if (node.Id == positionToGo) { myAnimator.SetTrigger("Land"); GameManagerForStates.Goal(); } if(totem.SoundToGetReach != null) SoundManager.Instance.Play (totem.SoundToGetReach); }