playMaker

Author Topic: Hide UI panel but still want it to be active  (Read 474 times)

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
    • View Profile
Hide UI panel but still want it to be active
« on: August 22, 2018, 02: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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14698
  • Official Playmaker Support
    • View Profile
Re: Hide UI panel but still want it to be active
« Reply #1 on: August 23, 2018, 12: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