Today we took an introductory look at the Unity Editor, including how to set up a project in the Unity Hub, the 1:1 mapping of your project folder and the “Assets” panel, and the Editor GUI.
Future classes will feature detailed write-ups with in-depth directions to follow and code resources. For today, our recording is posted on the course Canvas site. Here is the code that we developed today:
using UnityEngine;
public class BoxFountain : MonoBehaviour
{
public GameObject myBox;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
Instantiate(myBox);
}
// Update is called once per frame
void Update()
{
Instantiate (myBox);
}
}