C# Variables And References In Unity

Published: 21 August 2023
on channel: XR Terra Class
142
11

This video explains how you can use variables to store various data types such as string, bool, int, float, decimal, double, and Vector3 in C#, as well as how you can use references to hold connections to other components and classes in your scene.

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

00:00 What are variables
00:59 C# is a strongly typed language
01:57 String
02:39 Boolean
03:12 Integer
03:27 Float, Decimal, Double
04:35 Vector3
05:48 References
06:40 Setting variables
08:29 Variable scope
10:51 Using References
11:57 Access modifiers
13:55 Assigning References in the Inspector
17:10 Naming Conventions
19:08 Setting properties on referenced components
21:07 Play mode considerations
22:13 Changing playmode tint
23:38 GetComponent
28:40 Namespaces

Instructor: Gregory Osborne


Watch video C# Variables And References In Unity online without registration, duration hours minute second in high quality. This video was added by user XR Terra Class 21 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 142 once and liked it 11 people.