View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
C# Properties in Unity! - Intermediate Scripting Tutorial
Uploaded by UnityShare: 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.
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.