private void Update() { if (m_isHovered && Time.time > m_hoveredTime + m_hoverSwitchDuration) { m_isHovered = false; m_parent.Open(m_tabIndex); } }