I what to put custom define in my packages, according to the documentation
I have to submit plugins with
Assets/smcs.rsp
file with will have defines for my plugin. But what is both plugins will have this file.
Fore Example Android Native File will have define ANDROID_NATIVE and IOS plugins will have IOS_NATIVE define. But if customer will import both plugins O want ANDROID_NATIVE and IOS_NATIVE defines available. Is this a way how to do this?
I think it will. That is the problem. I what my asset to add define, and not harm other defines witch already in the project. But do not know how to do this…
I don’t think there’s a way to merge the smcs.rsp file automatically. Most assets on the store that I’ve seen just put their #define’s in one of their .cs files. I’ve also seen a few that just include a readme file that tells the user to add something to smcs.rsp. I think that would be better than including the actual smcs.rsp file since it would overwrite the user’s otherwise; it’s a pet peeve of mine when assets overwrite standard user files.