playMaker

Author Topic: Global variables Inspector checkbox  (Read 7249 times)

Mark_T

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 72
Global variables Inspector checkbox
« on: January 15, 2012, 03:04:00 PM »

I would love to have the option to make global variables visible in the main Inspector window.
Especially during play time. Maybe attached to the PlayMakerGUI object automaticaly created with the first created FSM in the scene?
Checking the Inspector checkbox in the Global variables window, the same way we do with the regular variables in the Variable Manager, will be very convenient, I think.
Maybe that PlayMakerGUI object can be used for some other similar purposes to.
I`m making this request because I have a bunch of global variable and I don`t know how to follow them during gameplay. If there is a way to do that. I`ll be grateful for some guidance.
Thanks in advance for your answers.


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Global variables Inspector checkbox
« Reply #1 on: January 15, 2012, 05:20:02 PM »
There are a few ways to follow global variable values at runtime:

1. Select PlayMaker/Resources/PlayMakerGlobals.asset and the inspector will show all your globals.
2. Keep the Globals tool window open and check Debug Values in the settings menu (the small cog icon).
3. The Variables tab shows global variables used by the selected FSM. Check Debug in the settings menu to see their values.

It should be fairly easy to expose 3 in the unity inspector for the FSM... I'll look into that...

Mark_T

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 72
Re: Global variables Inspector checkbox
« Reply #2 on: January 15, 2012, 07:11:58 PM »
Thanks a bunch.
Now it`s a lot easier. :)
The first method is the most convenient.
One last question: Is it possible to reorder the variables in the Global variables window?
I mean the position. Just to make things easier to follow.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Global variables Inspector checkbox
« Reply #3 on: January 15, 2012, 08:20:32 PM »
Quote
One last question: Is it possible to reorder the variables in the Global variables window?

Not currently, but that's a good idea. I'll add it as a feature request...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Global variables Inspector checkbox
« Reply #4 on: February 09, 2012, 02:30:27 AM »
Hi,

 Yes, reordering would be great! for events as well.

Bye,

 Jean

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Global variables Inspector checkbox
« Reply #5 on: December 01, 2017, 06:58:15 AM »
Sorry for bumping, but is this not possible yet? I need to reorder some local variables if possible :) They are categorized, but i need some more fine tuning :D
Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Global variables Inspector checkbox
« Reply #6 on: July 18, 2018, 03:03:29 PM »
Bump, bump, bump reorderable inspector bumpity bump :)
Available for Playmaker work