I was trying to make a strip of buttons, and wanted to use the canvasgroup’s alpha to disable it. however even though in scene view works fine when playing, it does not in game view. Here’s what happens:
This is basically what i’m doing, nothing too complicated:
void ShowMenuStrip()
{
_menuCanvas.interactable = true;
_menuCanvas.blocksRaycasts = true;
_menuCanvas.alpha = 1.0f;
}
void HideMenuStrip()
{
_menuCanvas.interactable = false;
_menuCanvas.blocksRaycasts = false;
_menuCanvas.alpha = 0.0f;
}
Am i missing something?