playMaker

Author Topic: Remove deleted globals  (Read 1012 times)

velketor

  • Junior Playmaker
  • **
  • Posts: 69
  • Multimedia Marathon Man
    • Shawn Kilian Portfolio
Remove deleted globals
« on: September 05, 2020, 09:36:03 PM »
Hello,

How can I remove these extra spaces from my deleted globals?  They are starting to cramp up my workspace and I'm worried they will eventually be so far off the screen that I won't be able to access them.  See screenshot below:


Yes I know using Globals is frowned upon, but it's how I prefer to work.  I'm hoping there is a solution regardless.  Thank you!

velketor

  • Junior Playmaker
  • **
  • Posts: 69
  • Multimedia Marathon Man
    • Shawn Kilian Portfolio
Re: Remove deleted globals
« Reply #1 on: September 07, 2020, 03:11:55 PM »
I figured it out!  I opened my PlayMakerGlobals.asset with Notepad++ and removed all the deleted (empty) Global Variables, re-saved the PlayMakerGlobals.asset, closed Unity and re-opened it.  Boom, all the deleted Globals are finally DELETED =)

Just thought I'd share for those who ran into the same problem.

Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Remove deleted globals
« Reply #2 on: September 07, 2020, 03:18:16 PM »
Hi.
Thx for sharing a solution.

How can you see if its a deleted one?

velketor

  • Junior Playmaker
  • **
  • Posts: 69
  • Multimedia Marathon Man
    • Shawn Kilian Portfolio
Re: Remove deleted globals
« Reply #3 on: September 07, 2020, 03:50:13 PM »


Find all of the variables in your PlayMakerGlobals.asset that say useVariable: 1 and have no name and delete them

Make sure to delete all 6 lines for each variable.  These are the deleted Globals that have to be manually deleted in order to be removed in PlayMaker's GUI.