Playmaker Forum

PlayMaker News => General Discussion => Topic started by: kentcheung2000 on August 22, 2018, 05:49:21 PM

Title: Hide UI panel but still want it to be active
Post by: kentcheung2000 on August 22, 2018, 05:49:21 PM
Hi,

How I can hide the UI panel but still want it to be active, because I still have scripts in the game object that I still want it to run.

Thanks.

KC
Title: Re: Hide UI panel but still want it to be active
Post by: jeanfabre on August 23, 2018, 03:24:48 AM
Hi,

 use a CanvasGroup, you can set the alpha, and even raycast option, so it could bbe visible but all disabled or all completly unreactive to input.

https://docs.unity3d.com/Manual/class-CanvasGroup.html

 I use this a lot.

 Bye,

 Jean