C# Hello World in Unity Breakdown

Опубликовано: 11 Декабрь 2024
на канале: XR Terra Class
134
4

This video takes you through the process of creating a C# script in Unity and using it to output the text "Hello, world!" to the Console window.

XRTerra Links:
Programs and Courses: http://www.xrterra.com/programs
Newsletter Signup: https://www.xrterra.com/mailing-list-...

00:00 Intro
01:26 Creating a C# Script
02:07 Using an IDE
04:22 Setting the preferred External Script Editor
05:52 Opening the script for the first time
06:23 Explaining Components
07:39 Adding our script onto an object
08:47 Different ways of opening the script
09:20 Class declaration and renaming the file
12:18 Comments and pseudocode
14:09 Multiline comments
14:43 Explaining Monobehaviour
17:18 The Start() function
18:17 Autocompletion
20:03 Hello World at last
21:07 Semicolon to end lines
21:57 Save your script
22:46 Testing it out

Instructor: Gregory Osborne