Added Unity 5 Preprocessor stuff

Making sure it still supports 4.5 and 4.6 with #if UNITY_5