so when i use SeralizeField and change a value in inspector, should i necessarily go back and fix the value in my script or changing it in inspector is enough?
Hi,
The value in the code acts as a default value. When you attach the script to the Inspector of a game object, the Inspector uses that default value to initialise the field.
Is your new value the value you want to use for future components? If so, change the value in the code as well. If not, you don’t have to change it.
See also:
- Forum User Guides : How to mark a topic as solved
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.