Exemple #1
0
 private void Update()
 {
     //       v = Input.GetAxis("Horizontal");
     transform.position += Vector3.right * v * speed * Time.deltaTime;
     currentState.Excute(this);
 }