Hide GUI elements without disabling GameObjects using Playmaker custom action

Nuclear Napalm Development 2 Comments

orking on my current project in Unity I encountered situation when I need to hide/unhide some GUI elements. The first easiest solution that comes to mind is just disabling/enabling GameObject using following piece of code: I quickly refused this solution and here are 2 main reasons: You can’t interact with disabled gameobjects and their components from script You can’t change states and send events to disabled gameobjects using PlayMaker FSMs I started looking for some workaround…

Nuclear NapalmHide GUI elements without disabling GameObjects using Playmaker custom action