using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.UI; namespace HeavenStudio.Common { public class RightClickDropdownObject : MonoBehaviour, IPointerClickHandler { [SerializeField] private Event[] _events; [Header("Components")] [SerializeField] private Transform _masterTrans; [SerializeField] private RectTransform _dropDown; private Button _dropDownButton; private RectTransform _currentDropDown; private bool _beingHovered; private void Awake() { _dropDownButton = _dropDown.GetChild(0).GetChild(0).GetComponent