playMaker

Author Topic: Scripting Define Symbols  (Read 2585 times)

Dakk

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 21
Scripting Define Symbols
« 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,

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Scripting Define Symbols
« Reply #1 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Scripting Define Symbols
« Reply #2 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