2026-05-08 11:03:00 +08:00
|
|
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
|
|
|
|
|
|
|
using FairyGUI;
|
|
|
|
|
using FairyGUI.Utils;
|
|
|
|
|
|
|
|
|
|
namespace FGUI.Common_01
|
|
|
|
|
{
|
|
|
|
|
public partial class btn_watchAd : GButton
|
|
|
|
|
{
|
|
|
|
|
public Controller buy_state;
|
|
|
|
|
public Controller can_buy;
|
|
|
|
|
public Controller buy_type;
|
|
|
|
|
public GTextField btn_text;
|
|
|
|
|
public GTextField watch;
|
|
|
|
|
public GImage ad_icon;
|
|
|
|
|
public GImage img_saveingpot;
|
2026-05-09 18:00:33 +08:00
|
|
|
public const string URL = "ui://o9974uc5b7ax1h";
|
2026-05-08 11:03:00 +08:00
|
|
|
|
|
|
|
|
public static btn_watchAd CreateInstance()
|
|
|
|
|
{
|
|
|
|
|
return (btn_watchAd)UIPackage.CreateObject("Common_01", "btn_watchAd");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void ConstructFromXML(XML xml)
|
|
|
|
|
{
|
|
|
|
|
base.ConstructFromXML(xml);
|
|
|
|
|
|
|
|
|
|
buy_state = GetControllerAt(0);
|
|
|
|
|
can_buy = GetControllerAt(1);
|
|
|
|
|
buy_type = GetControllerAt(2);
|
|
|
|
|
btn_text = (GTextField)GetChildAt(3);
|
|
|
|
|
watch = (GTextField)GetChildAt(4);
|
|
|
|
|
ad_icon = (GImage)GetChildAt(5);
|
|
|
|
|
img_saveingpot = (GImage)GetChildAt(7);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|