Check out example codes for "how to make character move unity". It will help you in understanding the concepts better.

Code Example 1

float horizontal = Input.GetAxis("Horizontal");
 float vertical = Input.GetAxis("Vertical");
 float speed = 5.0f;
 
 void Update(){
     transform.position = new Vector3(horizontal, 0, vertical) * speed * Time.deltaTime;
 }

Learn ReactJs, React Native from akashmittal.com