playMaker

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

christougher

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Getting Static variables...
« on: May 04, 2017, 06: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: 740
    • View Profile
Re: Getting Static variables...
« Reply #1 on: May 04, 2017, 08: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
    • View Profile
Re: Getting Static variables...
« Reply #2 on: May 04, 2017, 09:10:22 AM »
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