Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
29 lines
498 B
C#
29 lines
498 B
C#
using System;
|
|
using UnityEngine;
|
|
using Wizard;
|
|
|
|
public class TimeLeftUpdate : MonoBehaviour
|
|
{
|
|
[NonSerialized]
|
|
public MailData mailData;
|
|
|
|
[SerializeField]
|
|
public UILabel timeLeft;
|
|
|
|
public void UpdateTime()
|
|
{
|
|
if (mailData != null)
|
|
{
|
|
SystemText systemText = Data.SystemText;
|
|
if (mailData.limit_type == 1)
|
|
{
|
|
timeLeft.text = Mail.GetTimeLeft(mailData.reward_limit_time);
|
|
}
|
|
else
|
|
{
|
|
timeLeft.text = systemText.Get("Mail_0030");
|
|
}
|
|
}
|
|
}
|
|
}
|