Whats the main difference between using self and local to declare variables?
When is one more appropriate than the other?
My current working understanding is that local would be best used inside of function/if blocks
and self would be a kind of global variable within the scope of a script/gameobject.
I’d appreciate help to expand my understanding, thanks.