Jump to content

How to detect if temperature gauges are enabled?


Recommended Posts

I asked this in another unrelated thread, but it may have gotten buried... Anyway, how can I figure out whether the temperature gauges are enabled? They're the ones you turn on and off with F10 and currently have memory leak issues. I can't find anything in PhysicsGlobals that seems correct, which is where I'd expect it to be.

Link to comment
Share on other sites

Okay, so it looks like it's TemperatureGagueSystem (not a typo). It doesn't expose any static methods, so I'm not sure how to find out if it's on. Is there any way to figure out how to access the instance of it?

- - - Updated - - -

...And because no one could possibly be tired of me updating my own threads, here's the answer: I'm an idiot, TemperatureGagueSystem.Instance is static. You can check the state using TemperatureGagueSystem.Instance.showGagues.

I expect that'll change on a future patch. :P

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...