Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: christougher on May 04, 2017, 09:52:24 AM

Title: Getting Static variables...
Post by: christougher 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
Title: Re: Getting Static variables...
Post by: tcmeric 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?
Title: Re: Getting Static variables...
Post by: christougher 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