Dice the tofu into cubes.
Slice the onion and carrot.
Add cooking oil to a pan and grill the tofu until golden.
Add the onion and carrot, and stir-fry.
Mix soy sauce, sugar, and minced garlic to make a sauce.
Stir-fry all ingredients together so the sauce is well absorbed.
Place the stir-fried ingredients on top of rice.
Garnish with chopped green onion and sesame seeds.