Unity Property Attribute - [SerializeField]

Published: 19 June 2015
on channel: BurgZerg Arcade
16,239
220

Raspberry Pi 3 Setup -    • Raspberry Pi 3 Setup  
~-~~-~~~-~~-~

Fueled By Patrons: https://www.patreon.com/BurgZergArcad...
While SerializeField has nothing to do with Property Drawers or Custom Editor scripting, I still wanted to include it here as it does allow you to change some of the basic behavior of the Inspector.

For people coming from an Object Orientated Programing background, it is always annoying that you can not alter the values of a private variable. Well you actually can if you use [SerializField] you can.

Here is a short video on how to use it in your own Unity Projects.
--------------------
SUBSCRIBE - https://goo.gl/4X3sH8
PATREON - https://goo.gl/itXnwT

--------------------
GEAR I USE:
Mic - http://amzn.to/2dMWRVd
Mouse - http://amzn.to/2dSF7o6
Webcam - http://amzn.to/2hlFOcl

Portable Hard Drive - http://amzn.to/2dMVQMO
USB Portable Battery - http://amzn.to/2lABRQz


Watch video Unity Property Attribute - [SerializeField] online without registration, duration hours minute second in high quality. This video was added by user BurgZerg Arcade 19 June 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,239 once and liked it 220 people.