I guess you are using a Canvas for your UI, in this case you can go to the Canvas component and choose UI Scale Mode > "Scale with screen size". If you dont choose this option, the UI elements inside your canvas will look bigger or smaller depending on the screen resolution.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…