The code for unity menu and level loading