Unity Learn home
View Tutorial Content

Change a GameObject with script

Tutorial
Foundational
+10 XP
0 Mins
(6323)
Overview
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: November 15, 2023
2021.3
2019.4
Language
English
Change a GameObject with script