// This function is called whenever the state is entered
 public override void OnEnterState()
 {
     player       = GameObject.Find("Player");
     goombaScript = GetComponentInParent <Goomba>();
     GetComponentInParent <Particle3D>().AddForce(GetComponentInParent <Particle3D>().mass *Vector3.up *alertJumpStrength);
     goombaScript.SetHoppingState(true);
     goombaScript.SetChasingState(true);
 }