using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class OnGameReset : StateMachineBehaviour {

	 // OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
	override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) {
        Observer.ResetHandlers();
        Application.LoadLevel(Application.loadedLevel);
	}

}
