35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||
|
||
|
||
using FairyGUI;
|
||
using FairyGUI.Utils;
|
||
using NBC;
|
||
|
||
namespace NBF
|
||
{
|
||
public partial class WeatherInfo
|
||
{
|
||
public const string URL = "ui://682kb9n0tmu81h";
|
||
|
||
public GTextField TextTime;
|
||
public GTextField TextTemperature;
|
||
public GLoader IconWeather;
|
||
public GLoader IconWind;
|
||
public GTextField TextWindDir;
|
||
public GTextField TextWind;
|
||
|
||
public override void ConstructFromXML(XML xml)
|
||
{
|
||
base.ConstructFromXML(xml);
|
||
|
||
TextTime = (GTextField)GetChild("TextTime");
|
||
TextTemperature = (GTextField)GetChild("TextTemperature");
|
||
IconWeather = (GLoader)GetChild("IconWeather");
|
||
IconWind = (GLoader)GetChild("IconWind");
|
||
TextWindDir = (GTextField)GetChild("TextWindDir");
|
||
TextWind = (GTextField)GetChild("TextWind");
|
||
OnInited();
|
||
UILanguage.TrySetComponentLanguage(this);
|
||
}
|
||
}
|
||
} |