Hello!
Short question:
Is there "#define PLAYMAKER" or something similar in playmaker's scripts, so compiler could understand if Playmaker is included in the project?
Long question:
I'm working on an asset for Unity asset store and want to implement its interaction with some other popular assets starting with Playmaker (being one of the most popular). I dont want to ship my asset as different script packs for different combinations of addons (eg. one script version for interaction with Playmaker, one version for some other addon, one version which have the ability to interact with both, etc.). So I need a method to check whether Playmaker (or possibly other addon, but here I ask about Playmaker only) exists in a project.
C# preprocessor directives can do the work and I'm curios if any Playmaker-related keywords already defined in Playmaker scripts (or should I define them in my scripts which is less convenient for end users). The interaction I'm talking about is simply "send event as string to a specified Playmaker FSM", so I can just paste all Playmaker related stuff within #if ... #endif block.
Or maybe there are any other methods of solving this?
EDIT: Looks like the scope of #define directive in C# is just one file, so its not possible to use it as descibed above. So the question remains: are there any other methods to know if Playamker exists in a project?