using UnityEngine; public class PlatformUIHandler : MonoBehaviour { public GameObject joystickUI; public GameObject buttonUI; public GameObject shootButtonUI; void Start() { bool isMobile = GameSettings.IsMobile; if (joystickUI != null) joystickUI.SetActive(isMobile); if (buttonUI != null) buttonUI.SetActive(isMobile); if (shootButtonUI != null) shootButtonUI.SetActive(isMobile); } }