private IEnumerator OnHighlight() { while (m_isHighlighted) { if (m_infoPopup != null) { Vector2 adjustedPos = m_visualGridManager.GetLocalPos(Input.mousePosition); m_infoPopup.SlideToY(adjustedPos.y); } yield return(null); } }
private IEnumerator OnHighlight() { while (m_isHighlighted) { if (m_infoPopup != null) { Vector2 adjustedPos = m_visualGridManager.GetLocalPos(Input.mousePosition); m_infoPopup.SlideToY(adjustedPos.y); } yield return(null); } }