Most tutorials expose variables in the inspector by making them public even if they need to be private. After some research, I've found the safest/Best Practice approach to exposing private variables is by using [SerializeField].Read
All Posts tagged as "Unity 2018"
I recently discovered I was writing my Unity code the 'Old Fashoned' game developer way by using classical inheritance. Unity was built on the foundation of using Composition, a modular way to build objects. Let's talk about the differences.Read