i am following a youtube tutorial but i, stuck since it doesn’t show me the speed when i look at the player, here is the code
{
//VARIBILES
[serializefield] public float MoveSpeed;
[serializefield] private float WalkSpeed;
[serializefield] private float RunSpeed;
private vector3 movediraction
//REFRENCES
private charactercontroller
private void start()
{
controller = Getcomponent<charactercontroller>();
}
private void update()
{
move();
}
private void move()
{
float moveZ = input.GetAxis("vertical");
movediraction = new vector3(0,0,moveZ);
movediraction *= WalkSpeed;
controller.move(movediraction * time.deltatime);
}
}
please tell me what im doing wrong, it doesn’t show me a thing
Letter case and ;
in C# matter:
Use Visual Studio, it will underscore all the code issues for you.

It free programing advice.
What you are doing wrong is that
-
You don’t describe what you have already done ( name of the script, which gameobject is on, what else exists in your scene)
-
What are you trying to achieve ( What is the expected result)
-
What actually is happening when you try to run the game ( what happens differently from what you expect, are there any error messages, is any specific behavior of the gameobject different or doesn’t happen at all)
With so little information: a youtube tutorial which we don’t know what is about, that you are stuck without describing why you are stuck because we don’t know what you are trying to do and that it doesn’t show you a thing (is the whole screen blank?) it will be really hard for someone to give a helpful answer to whatever problem you have.