Playmaker Forum
PlayMaker Feedback => Feature Requests => Topic started by: Jamesk on July 17, 2016, 10:02:24 PM
-
Hi,
I'm developing an asset store plugin that will controllable with my custom playmaker actions or just regular C# scripts. User can choose.
I would like to place my playmaker custom actions within a platform define type check so if a user without playmaker downloads my asset, it won't cause errors (since FSM variables won't exist, etc).
Is this possible? Or does it already exist and I missed it?
Thank you,
James
-
Hi,
Yes, PlayMaker 1.8 fills the defined symbols for the project when it's installed, so your actions could work with this.
(http://i.imgur.com/5J0JZcj.png)
then within your action, you only enable the code if PLAYMAKER defined.
Bye,
Jean
-
Great, thanks! :)