A word of caution

When typing up code from memory and you initialize variables in [SerializeField], be warned that when you change that value in code, it will stay the same in the inspector. I had set my initial padding to 10 then corrected it to 1 but in the inspector it stayed the same. With a camera size of 6 everything went crazy! It took me 20 minutes to figure out what the hell went wrong since in code, everything looked clean.

Take care, Fox

2 Likes

Privacy & Terms