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.
23 lines
382 B
C#
23 lines
382 B
C#
using UnityEngine;
|
|
using Wizard;
|
|
|
|
public class StaticTextForUILabel : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private string m_textID = "";
|
|
|
|
private void Start()
|
|
{
|
|
UILabel component = GetComponent<UILabel>();
|
|
if ((bool)component)
|
|
{
|
|
component.text = Data.SystemText.Get(m_textID);
|
|
}
|
|
}
|
|
|
|
public void Set(string id, string memo)
|
|
{
|
|
m_textID = id;
|
|
}
|
|
}
|