Forcing 'hide when' calculation
I want to hide a button based on the source of the currently displaying image. I have set up a couple script to set a variable (bool), which I then hoped to use in the 'hide when' calculation in the inspector.
Trouble is, it only seems to work with the script attached to the portal, while the script I put on the edit field (file container), does not cause the calculation to happen (the variable is changed correctly).
Question then, is if there is a way to force the 'hide when' calculation - or perhaps there are better ways to dymanically hide/show objects?
Thanks for your time.