Foundations of programming in Unity

+60 XP
1 Hour
This learning project will give you a sample of the essential tasks of a Unity programmer. These tasks can also be useful in any other role when you want to customize the ways GameObjects behave. Although many tasks in Unity don’t require programming, it can also be helpful to understand these fundamentals.
In these tutorials, you will create a simple script and add it to a GameObject as a component. You will be introduced to the Integrated Development Environment (IDE) that comes with Unity, and explore the default script that every Unity programmer starts from. You will change a GameObject using a script to get a glimpse of the possibilities of scripting for your own projects.
Project Objective
By the end of this learning project you will be able to:
  • Explain the role of the Integrated Development Environment (IDE) in Unity
  • Open the IDE from the Unity Editor
  • Create a new script component
  • Understand the purpose of the default code generated within a newly created C# script
  • Print a message to the Unity Editor console using a simple script
  • Change a GameObject using a simple script
  • Explain the relationship between scripts and components
Select your Unity version
Last updated: November 17, 2020