public void Pressed(GameObject obj) { if (pppObj != null && puzzleSolver != null) { pppObj.active = !pppObj.active; puzzleSolver.CheckSolvedState(); } }