I apologize if this isn’t the correct section to ask this question. I wasn’t sure where to post it.
Here it my problem : I released an asset on the Asset Store. I would like to release a second asset that can optionally make use of the first asset if present but can also work on its own if not. That means conditional compilation. I need a way to define a symbol if the first asset if present and use it to enable/disable parts of the code of the second asset.
I looked though the Assembly definitions documentation but I couldn’t find a solution there. It seems I could create an assembly definition for my second asset and use it to define a symbol if my first asset is present (as explained here). But it doesn’t work. My first asset is not listed as a package. Assets sold on the Asset Store are not package, they’re just files added to the project.
I also tried creating a package.json file for my first asset but that didn’t change anything.
Is there a way to do this? Thanks.