- Home /
Question by
princepranay2000 · Apr 23, 2020 at 09:38 AM ·
c#scripting problemmovement3d
How to move your player or character left or right by 14 unit on button click in mobile
public void uiLeft()
{
currShift--;
transform.position += Vector3.left * moveDis;
Debug.Log(currShift);
}
this above code don't work for me because i don't have high level coding skills in unity or c# i want to move my player left right by 14 unity on each button click on mobile game
Comment
Your answer
Follow this Question
Related Questions
How do i maintain the same speed in the air? 1 Answer
How to move player or character Left right by 14 unit every at button click on mobile 0 Answers
How To Stop Movement With RigidBody.AddForce 2 Answers
Making a bubble level (not a game but work tool) 1 Answer
Still doing Running Animation? 1 Answer