public void DeleteCubesOnDisableToggleArrows() { if (toggle_arrows.GetComponent <Toggle>().isOn == false) { heatmap.clearArrows(); } }