Check out example codes for "set player position unity". It will help you in understanding the concepts better.

Code Example 1

transform.position = new Vector3(0, 0, 0);//x, y, z

Learn ReactJs, React Native from akashmittal.com