Cut the onion and mushrooms into bite-sized pieces.
Add cooking oil to a pan and stir-fry the onion.
When the onion becomes translucent, add the mushrooms and stir-fry.
Add rice and stir-fry together.
Season with soy sauce, salt, and pepper.
Add green onion, mix once more, and finish.