Hello! I’m attempting to unmask the play button and for some reason it doesn’t want to work.
I’ve copied the Enable Masking example exactly from the LEGO Template using the named Control selector mode and “ToolbarPlayModePlayButton” as the Control Name, but it only wants to unmask the Tutorial window still.
Is there somewhere that lists the UI component names like “ToolbarPlayModePlayButton”? I have to say, as a user, I would have never guessed that to be the name of what most people probably call the “Play Button” (which I have also tried as the control name to no avail).
Version info:
Unity Version 2021.1.4f1
TAT 1.0.0-pre.4
TF 2.0.0-pre.f
You’re right: I just tried with those masking settings on 2020.3 and they work. On 2021.1.0a7, they don’t (the whole toolbar is highlighted instead). This seems to be because the whole toolbar was reworked in 2021 and converted to UIElements, which means that IET is currently incapable of interacting with its content as it has no way to detect it
UIE support is in our roadmap, and this makes it even more urgent than we thought…
My recommendation would be to stick to 2020.3 for IET content, for now.
Unfortunately, there isn’t. Your observation totally makes a point, we could either provide the list in the documentation or, even better, let you pick up it from an enum or something similar. Would that help?
By looking at the editor’s code, I can tell you that the name of the 3 buttons in 2020.3 is:
An enum/list of sorts would be nice, in my head I was envisioning an eyedropper of sorts that lets you select the UI component you want to focus, but I fear that’s a bit over-the-top lol
Thank you again! I’m going to go make a backup and downgrade the project.