using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
// bla bla bla
from line 33
foreach (var b in buttonlist) {
Inactivebuttonlist.Add (b);
buttonlist.Remove (b);
b.gameObject.SetActive (false);
**// My function stop here, but there is still more to be done**
}
PlanetAdminHolder.SetActive (false);
// bla bla bla