Finely chop the mushrooms, tofu, and onion.
Beat the eggs and set aside.
Add cooking oil to a pan and sauté the onion.
Add the mushrooms and stir-fry thoroughly.
Add the tofu and stir-fry until the moisture evaporates.
Pour in the beaten eggs and quickly mix and cook.
Season with salt and pepper to taste.
Transfer the finished fried rice to a bowl.