As our Unity project progresses, we will have several folders to organize and store all of our C# files.
State Machine
.Code
.Code
folder and a create a folder named Scripts
.Scripts
folder, create a C# Script
.NewBehaviourScript
to LearningScript
.We created one of the Code
subfolders, named Scripts
, that we will be using to organize our C# files. This folder will contain all of our Unity script files. Later we will create other C# file folders.
We also used Unity to create a C# script file named LearningScript.cs
.
Unity uses an external editor to edit its C# scripts. Even though Unity can create a basic starter C# script for us, we still have to edit the script using the MonoDevelop code editor that's included with Unity.
3.17.79.20