Generation

translateMon, 26 Dec 2022

move forward when i press the key Z

if (Input.GetKeyDown("z")) { transform.position += new Vector3(0, 0, 1); }

Questions about programming?Chat with your personal AI assistant