Playernewmovement.cs(11,27): error CS1002: ; expected
I need a little help because im cunfused with this anyone? Here's the script: using UnityEngine;
public class Playernewmovement : MonoBehaviour { void Update() { float xDirection = Input.GetAxis("Horizontal"); float yDirection = Input.GetAxis("Vertical");
Vector3 MoveDirection = new Vector3(xDirection, 0.0f, yDirection);
Transform.position,Gameobject.Player += MoveDirection;
}
} ,I need a little help im new on coding cansomebody help with this?
There's a script to see it using UnityEngine;
public class Playernewmovement : MonoBehaviour { void Update() { float xDirection = Input.GetAxis("Horizontal"); float yDirection = Input.GetAxis("Vertical");
Vector3 MoveDirection = new Vector3(xDirection, 0.0f, yDirection);
Transform.position,Gameobject.Player += MoveDirection;
}
}
Your answer
Follow this Question
Related Questions
The name animator does not exist in the current context... Help? 1 Answer
i cant click the test button on my game 0 Answers
BCE0043 unexpected token: ")"? 1 Answer
Default Scene not loading 0 Answers
Error with classes 0 Answers