Dice the tofu into small cubes.
Finely chop the onion and carrot.
Heat cooking oil in a pan and cook the tofu until golden brown.
Add the onion and carrot to the tofu and sauté together.
Add the rice and stir-fry everything well.
Season with soy sauce and salt to taste.
Serve in a bowl.