Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Dakk on December 11, 2017, 01:08:14 PM

Title: Scripting Define Symbols
Post by: Dakk on December 11, 2017, 01:08:14 PM
Is there any PM action that looks at Scripting Define Symbols?

It would function similar to a boolean test.
Thanks,
Title: Re: Scripting Define Symbols
Post by: tcmeric on December 23, 2017, 11:51:48 AM
Such as #if UNITY_IPHONE, etc?

What is your goal?

If you want to get these #defines from a script, they must be saved into a variable somewhere in the script to be accessed. Otherwise, as far as I know, they can only be read by the compiler.
Title: Re: Scripting Define Symbols
Post by: jeanfabre on January 09, 2018, 06:07:03 AM
Hi,

 If the scripting define symbol is coming from a third party system, then you'll need to create a dedicated action for it. it's not difficult, if you tell me the scripting define symbol, I'll do the action for you.

 else, search the ecosystem for that scripting symbol, you may find an action that use it, for example the PlatformDependentEvent or PlatformDependentEvents actions

Bye,

 Jean