#if UNITY_4_0
// do something
#endif
isn’t working for me. I’m running 4.0.0f7, and anything inside the conditional directive never runs at all.
Anyone else having this problem? Or if not, any idea why I would be having it?
#if UNITY_4_0
// do something
#endif
isn’t working for me. I’m running 4.0.0f7, and anything inside the conditional directive never runs at all.
Anyone else having this problem? Or if not, any idea why I would be having it?
Works fine here. Perhaps you have a typo or a function that’s not running regardless.
–Eric
No, I’ve checked for both possibilities - the function is definitely running, because anything outside of the directive works fine. Oh well. Will try restarting etc.