The Unity documentation it indicates that all public variables are made available in the inspector for direct editing. While this is handy, it is also dangerous. This article will cover a few things regarding public variables, and how to avoid them in Unity.
Tag Archive for Fixes
Particular Problems with Public Variables in Unity
Category: Coding, Napkin Western, Tips and Tricks, Unity |
Tags: Access Modifiers, Bugs, C#, Code, Coding, Debugging, Fixes, Good Practice, Information, Inspector, Know-How, Programming, Tips, Unity, Variables