Newbie movement axis Question!

Hello world i have a problem with my movement axis between scenes i am new with programming and i may be out of my league with this but i want to learn :smile:

using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using UnityEngine;

public class PlayerMovement : MonoBehaviour
{
//walkfloats
[SerializeField] float walkSpeed = 6.0f;
[SerializeField] [Range(0.0f, 0.5f)] float moveSmoothTime = 0.3f;
CharacterController controller = null;
//dir
Vector2 currentDir = Vector2.zero;
Vector2 currentDirVelocity = Vector2.zero;
//gravity
[SerializeField] float gravity = 13.0f;
float velocityY = 0.0f;
private void Start()
{
controller = GetComponent();
}
private void Update()
{
UpdateMovement();
}
void UpdateMovement()
{//dir
Vector2 targetDir = new Vector2(Input.GetAxisRaw(“Horizontal”), Input.GetAxisRaw(“Vertical”));

currentDir = Vector2.SmoothDamp(currentDir, targetDir, ref currentDirVelocity, moveSmoothTime);
//gravity/check ground
if (controller.isGrounded)
velocityY = 0.0f;
velocityY += gravity * Time.deltaTime;

//force
Vector3 velocity = (transform.forward * currentDir.y + transform.right * currentDir.x)walkSpeed+Vector3.downvelocityY;
controller.Move(-velocity * Time.deltaTime);
}

}