diff --git a/Assets/PerfectWorld/Scripts/UI/ShopIconHandler.cs b/Assets/PerfectWorld/Scripts/UI/ShopIconHandler.cs deleted file mode 100644 index 9bc98753c3..0000000000 --- a/Assets/PerfectWorld/Scripts/UI/ShopIconHandler.cs +++ /dev/null @@ -1,229 +0,0 @@ -using UnityEngine; -using UnityEngine.UI; - -public class ShopIconHandler : MonoBehaviour -{ - [Header("Shop Icon")] - public Button shopIconButton; - public Image shopIconImage; - - [Header("Shop Manager")] - public ShopUIManager shopManager; - - [Header("Visual Feedback")] - public Color normalColor = Color.white; - public Color hoverColor = Color.yellow; - public Color pressedColor = Color.red; - - [Header("Animation")] - public bool enableHoverAnimation = true; - public float hoverScale = 1.1f; - public float animationSpeed = 5f; - - private Vector3 originalScale; - private bool isHovering = false; - - void Start() - { - InitializeShopIcon(); - SetupEventListeners(); - } - - void InitializeShopIcon() - { - // Store original scale for animation - originalScale = transform.localScale; - - // Setup button if not already assigned - if (shopIconButton == null) - { - shopIconButton = GetComponent