예제 #1
0
        private void ShowHideValuePopup(LineEntryIdicator indicator)
        {
            if (currentValuePopup == null)
            {
                currentValuePopup = viewCreator.InstantiateChartPopup(contentView.transform, Config.PopupPrefab);
            }

            if (indicator.entry != currentValuePopupEntry)
            {
                UpdateValuePopup(indicator);
                currentValuePopupEntry = indicator.entry;
            }
            else
            {
                HideCurrentValuePopup();
            }
        }