public void confRightClicked() { print("active= " + active.GetHashCode() + active.getData()); ResourceDisplay.openListSelect(active.getData().drainingRight, selectionDone, active.getData().to.GetComponent <inventory>()); this.gameObject.SetActive(false); }