Fisrt, you should check this out
PC - Distance between topbar icons : 12
Mobile - Distance between topbar icons : 4 (actually, 6)
Console - NO TOPBAR ICONS OMG
Well, as seen above, due to the problem of different topbar icons depending on the user’s device, a different UI must be shown depending on the user’s device.
The setting button on the right is a button I created.
Check ‘UserInputDevice.TouchEnabled’ and if it’s true i change it’s position to 6 pixel
However, there may be users who use PCs with touch-capable monitors, and above all, a different UI must be shown to console users. I can’t ignore a Bluetooth keyboard and mouse connected to the console, and I can’t ignore a gamepad connected to a PC either.
Instead of checking TouchEnabled and GamepadEnabled, I need another way to check the user’s device.