Пример #1
0
        public override void Update(DayInfo info)
        {
            base.Update(info);
            m_DailyReward.Update(info);
            m_ConditionalReward.Update(info);

            m_Root.transform.localScale = new Vector3(m_RootScale.x * info.Scale.x, m_RootScale.y * info.Scale.y, m_RootScale.z);
            m_Root.SetModify(true);

            m_DayLabel.SetNewText(GuiBaseUtils.DateToDaysString(info.Date));
        }