/// <summary>
 /// Sets a state as the initial state in the state machine
 /// </summary>
 /// <param name="state"></param>
 private void OnSetStartState(StateNode state)
 {
     state.SetStyle(startStyle);
     if (startingState != null)
     {
         startingState.SetStyle(defaultStyle);
     }
     startingState          = state;
     currentSM.CurrentState = state.NodeState;
 }