- Home /
excluding resources when targetting flash
I have a project targeted to Android, iPhone and Flash. I'm using Prime31's Social Plugins which won't compile when targetting Flash because it uses System.Reflection (even if I don't have a single object in my scene). I'm guessing this has to do with static classes.
So I'm wondering, is there any way of easily excluding these plugins resources when targetting Flash? When developing I'd like to be able to switch back and forth between different platforms without having to delete or import the plugin resources every time.
Any ideas? I've tried using #UNITY_ANDROID etc in the plugin scripts but the more I comment out the more stuff not supported by Flash I find ;)
Your answer
Follow this Question
Related Questions
3.5 Flash Export - Compiles fine, but no resources 0 Answers
Tag-based gameobject exclusion 1 Answer
Flash build - Resources.as problems 0 Answers
Resources.Load not working in flash build. I Can't find answer anywhere. 0 Answers
Is it possible to download and overwrite a .resx file on mobile? 1 Answer