C# Properties in Unity! - Intermediate Scripting Tutorial
Watch this video in context on Unity Learn:
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.