public void Enter(RobotSM robot) { robot.GetComponent <Animation>().CrossFade("walk"); }
public void Enter(RobotSM robot) { tstart = Time.time; robot.GetComponent <Animation>().CrossFade("idle"); }
public void Enter(RobotSM robot) { tstart = Time.time; robot.GetComponent <Animation>().CrossFade("charging"); robot.transform.LookAt(new Vector3(5, 0, -1)); }