while in class
授業中に寝てしまった。
I fell asleep in class.
授業中の発言は手を挙げてからにする。
Raise your hand before speaking during class.
授業中はスマートフォンを使わないようにしている。
I try not to use my smartphone during class.