Dice the tofu into cubes.
Julienne the onion, carrot, and green onion.
Heat oil in a pan and stir-fry the onion and carrot.
Add the tofu and cook until golden brown.
Add soy sauce, sugar, cooking wine, and water, and bring to a simmer.
Place the sautéed ingredients and sauce over the rice.
Garnish with green onion to finish.