private void Update() { if (m_IsHovered && Item != null && m_DragHandler == null) { ItemHoverInterface.Show(Input.mousePosition, Item); } }
private void Update() { if (m_Hovered && m_Item) { ItemHoverInterface.Show(Input.mousePosition, Item); } }
private void Awake() { if (m_Instance == null) { m_Instance = this; } else if (m_Instance != this) { Destroy(gameObject); } SetVisible(false); }