C# Properties in Unity! – Intermediate Scripting Tutorial
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.

View on YouTube

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>