Back to Browse

SERIALIZEFIELD VS PUBLIC! Which one you SHOULD use

300 views
Jan 4, 2024
6:06

SERIALIZEFIELD VS PUBLIC! Which one you SHOULD use ✨ In this Unity Basics video I've discussed the difference between SerializeField and Public properties in Unity. When and how you can use SerializeField and Public variables while writing scripts. SerializeField can be used to make private fields visible in the Inspector window of the unity editor. On the other hand Public properties are visible in the Inspector by default. I hope you can learn a very basic thus important attribute of unity through this SerializeField VS Public properties tutorial. If you're new to Unity, then this video is a great introduction to the basics of fields and properties. By the end of this video, you'll know what public and serialized properties are, and how to use them in your Unity projects. 📌 Stay tuned for more in-depth tutorials and tips to push the boundaries of what's possible in Unity. Happy coding, and may your virtual worlds shine brighter than ever before! ✨ Happy coding! #scripting #unityscripting #gamedevelopment #unitytutorials #unity3d #unitydevlog

Download

0 formats

No download links available.

SERIALIZEFIELD VS PUBLIC! Which one you SHOULD use | NatokHD