I declared my variable on my code, named it moveSpeed with the value of 10, for example, and I also serialized it so I can change it through my inspector. When i go to unity, the box where I can change the moveSpeed value shows 0, not my desired inital value which was 10.
Does Unity automatically put my serialized values to 0? And if so, can I change it somehow to get my initial value from the one referenced in the code?
Thanks