In a bowl, mix the tofu with half of the sauce. Let it marinate in the refrigerator for 1 to 24 hours. Reserve the other half of the sauce for the final preparation.
Cook the rice according to the instructions on the packaging.
Pour a drizzle of oil into a pan or wok, and sauté the chopped onion, garlic, and carrots until the onions are translucent (about 5 minutes).
Add the peas, marinated tofu, and pre-cooked rice. Mix everything together and add the sauce.