Find operation are costly operations: try to avoid them.
Make a public List and assign your buttons to that List and then iterate the List.
public List<GameObject> allButton; // it will show in your inspector assign (Drag and
// Drop) all your buttons to this list.
public void ShowAllButtons(){
for(int index=0; index < allButton.Count; index++ ){
allButton..SetActive(true);
}
}