playMaker

Author Topic: Getting Static variables...  (Read 1481 times)

christougher

  • Playmaker Newbie
  • *
  • Posts: 36
Getting Static variables...
« on: May 04, 2017, 09:52:24 AM »
Hi, I'm not sure how to get Static variables... Is this somehow doable with CallStaticMethod?

Say for example I need to check the public static bool DarkTonic.CoreGameKit.LevelSettings.IsGameOver
How could I do this with playmaker...

Here is the internal c# code to Get it

public static bool IsGameOver {
            get { return _gameIsOver; }

Thx!
Chris

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Getting Static variables...
« Reply #1 on: May 04, 2017, 11:48:59 AM »
Have you asked them to supply an action for this? I thought this package had playmaker support?

christougher

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Getting Static variables...
« Reply #2 on: May 04, 2017, 12:10:22 PM »
they do, i asked and was told they'd help but also wanted to ask here.  I also was hoping there is a simple way to get static variables as this isn't the first time I've ran into this problem.  Is a generic GetStaticBool or GetStaticInt not possible?
Thx.
Chris