private void Update() { if (m_showCompare && Time.time > m_showTime + m_compareDelay) { m_showCompare = false; m_compareTooltip.Show(); m_itemTooltip.ShowComparison(); m_compareTooltip.ShowComparison(); if (m_showCompareSecondary) { m_compareSecondaryTooltip.Show(); m_compareSecondaryTooltip.ShowComparison(); } } }