Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Stain Corb on September 01, 2019, 12:07:03 AM
-
Sorry to bother with something that seems so easy.
I have a UI image on the canvas and am looking for an action to disable this UI. but I don't see any actions for disabling or enabling UI images in the action browser.
Thanks for any help.
-
Try Activate Component, point to the UI Image component (drag and drop it into the component target field) and set the Activate option to false.
Otherwise set the color's alpha to 0 or 1 or use a Canvas Component and set its alpha value to 0 or 1.
-
Thanks a lot that worked.
-
As a reminder, there are no official "Deactivate this or that" actions. It's always Activate something, with the bool that needs to be set to false. Same with game objects.
-
Ok got it thanks a lot.