Delete the useless method in mainscene