As a massive fan of the XCOM franchise, I wanted to emulate that game’s method of hiding the Action UI buttons themselves when performing an action rather than showing/hiding a separate UI element on top of them.
I added the code from the ActionBusyUI.cs script directly into UnitActionSystemUI.cs script instead and modified the order of the UnitActionSystem_OnBusyChanged() as detailed below.
Another alternative to the alternative to the alternative!
I wanted my buttons to become transparent, because I thought it would look nice, and I discovered the built in handling unity has for this. If you set the disabled colour field to a very low alpha:
Then when you make the button non-interactible it automatically changes it to the “Disabled Color”, making it transparent. Then to clean up you just have to make the text transparent, and done: