/** 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; public const string URL = "ui://jq2t9glpb7ax1h"; 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); } } }