playMaker

Author Topic: How use Global Enums, any examples?  (Read 1839 times)

timoe

  • Playmaker Newbie
  • *
  • Posts: 6
How use Global Enums, any examples?
« on: January 29, 2016, 08:08:13 AM »
Is there some tutorial or example how to use Playmaker global Enums? I try to bring my playmaker global enum data to my C # script. How the C# initialization have to do that I can use my Playmaker enum data correctly inside my c# script?

sorry bad english.

timoe

  • Playmaker Newbie
  • *
  • Posts: 6
Re: How use Global Enums, any examples?
« Reply #1 on: January 29, 2016, 08:14:23 AM »
I have different game modes on my game. And playmaker using enum to recognize that, but part of my game using c# and I want that my script can read my global "gamestate" playmaker enum. I know already how that do if using string and int, but enum is still mystery to me.

mech_alina

  • Playmaker Newbie
  • *
  • Posts: 8
Re: How use Global Enums, any examples?
« Reply #2 on: October 12, 2021, 06:36:53 PM »
This is an old post, but I am experiencing the same thing! How can pull global enums into my C# scripts?