C# Properties in Unity! - Intermediate Scripting Tutorial

Uploaded by Unity
Share: Twitter Facebook
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/creating-properties

Properties allow you to access the member variables of a class in code that exists outside of the class. Furthermore, this access has a greater level of security and control then public variables could allow. In this video, you will learn how to create properties in a class and use them externally.