Added preprocessor checks for Unity version

Added preprocessors checks to use the correct sprite settings based upon
the Unity version (4.3, 4.5, or 4.6).