示例#1
0
        private void InitTooltip()
        {
            GameObject obj = ChartUtils.AddTooltipObject("tooltip", transform, themeInfo.font);

            tooltip.SetObj(obj);
            tooltip.SetBackgroundColor(themeInfo.tooltipBackgroundColor);
            tooltip.SetTextColor(themeInfo.tooltipTextColor);
            tooltip.SetActive(false);
        }