Почему не работает ходьба
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class dvizhenie : MonoBehaviour {
Rigidbody2D rb;
void Start () {
rb = GetComponent<Rigidbody2D> ();
}
void Update() {
}
Void FixedUpdate(){
rb.velocity = new Vector2 (Input.GetAxis ("Horizontal") * 12f, rb.velocity.y);
}
}