error cs0131 : The left-hand side of an assignment must be a variable, a property or an indexer
●原本:
public GameObject[] _button;
for (int i = 0; i < _button.Length; i++)
{
_button [i].SetActive = false;
}
●改成:
public GameObject[] _button;
for (int i = 0; i < _button.Length; i++)
{
_button [i].SetActive (false);
}