Hi im prety new to unity and scripting so this might be an obvious mistake.
the mistake i keep getting says: "A get or accessory expected
heres the code:
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour
{
void FixedUpdate
{
float moveHorizontal = Input.GetAxis("Horizontal");
float moveVertical = Input.GetAxis("Vertical");
Vector3 movement = new Vector3(moveHorizontal, 0,0f, moveVertical);
rigidbody.AddForce(movement);
the mistake is in the float movehorizontal line i think