#Can't change variable it's back to 0 every time

1 messages · Page 1 of 1 (latest)

austere flint
#

I want to change some variables but when i try to change them in the editor it's go back to 0, they don't let me change it

fair heath
#

code?

austere flint
#

The code it's not made by me, i bought it to reduce the time, but i will give it to you and a video

https://wtools.io/paste-code/bI8m

fair heath
#

ah strange, sadly i have no idea then
I thought maybe a script implements either OnValidate, OnBeforeSerialize or OnAfterDeserialize (you can look those methods up) and forces a previously saved state of the array to be applied instead

#

could be an editor bug, but probably not (have never seen that before)