Im learning Objective-C for iphone and I really need help understanding what constants are and why you would want to use them. Yes, you can use Objective-C for the iPhone, now. Also if anyone knows, what are major things to know in objective-c (like data encapsulation)
Thanks for everything!
Constants are used more or less like variables, but their value is set once at definition and is never changed. They have traditionally had a variety of benefits (safer than variables in global scope, advantageous for compiler optimisations, etc), but they are of less significance in an environment like Unity than in some other situations.
FYI, this probably isn’t the best place to get info on Objective C.
Most of us bought Unity so we wouldn’t have to learn Objective C!