First, preheat your oven to 350 degrees Fahrenheit.
To prepare the eggplants, cut them into rounds of about 1/4 - 1/2 inch thickness and set them aside. Prepare a bowl with the water or eggs in it, and another bowl with the panko bread crumbs in it. Dip each slice of eggplant into the water and then into the panko until it is fully covered by bread crumbs. Line up the coated slices on your baking sheet in one layer and once all the eggplant is coated, go ahead and put this in the oven for 5 minutes. Once those five minutes are over, take the eggplant out, flip them using kitchen tongs or your hands, and put. them back in the oven for another 5 minutes. The eggplant should be tender once baked.
In the 9 x13 in dish, start by spreading about 1/3 of the spaghetti or tomato sauce mixture on the bottom of the dish. Spread it across the dish using a spoon or spatula and place a layer of the cooked eggplant slices on top of that. Coat the eggplant with 1/3 of the mozzarella and parmesan cheese, and then continue this process of layering until all your ingredients are gone. I recommend to finish off with the cheese as the top layer and then you can sprinkle on the dried basil and leftover panko crumbs on top.
Place the dish into the oven for 35 min or until the top is golden brown and the cheese is completely melted all throughout. Allow to cool for at least 10 minutes and the enjoy!