Unity Learn home
View Tutorial Content

Change a GameObject with script

Tutorial
Foundational
+10 XP
30 Mins
(10886)
Overview
Skills
Groups
For Educators
Summary
In this tutorial, you will apply what you’ve learned about scripting to a GameObject and make a visible change in the Scene.
In this tutorial you will:
  • Edit the default code generated within a newly created C# script
  • Use scripting to change the transform properties of a GameObject
  • Write code that utilizes the Unity APIs
Select your Unity version
Last updated: September 19, 2022
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
Language
English
Change a GameObject with script