- Home /
Default values are not working in Editor
Greetings everyone. Here's my trouble, at the screenshot. I suppose there must be default values which were defined in class file, but they're missing. Where did i mess up? Thanks for any help.
Comment
Answer by tanoshimi · Jun 30, 2014 at 05:23 PM
The inspector doesn't get populated by values with which variables are initialised - rather, values set in the inspector overwrite those declared in the code file.
Your answer
![](https://koobas.hobune.stream/wayback/20220613152856im_/https://answers.unity.com/themes/thub/images/avi.jpg)