123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_StoryChapterUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GGraph m_bgEffect;
- public UI_CompChapter m_chapter;
- public GComponent m_valueBar;
- public GButton m_btnBack;
- public GButton m_btnHome;
- public GTextField m_txtChapter;
- public GLoader m_txtBg;
- public GTextField m_txtChapterName0;
- public GTextField m_txtChapterName1;
- public GTextField m_txtChapterName2;
- public GTextField m_txtChapterName3;
- public GTextField m_txtChapterName4;
- public GGroup m_selectChapter;
- public UI_CompBonusBox m_bonusBox3;
- public UI_CompBonusBox m_bonusBox2;
- public UI_CompBonusBox m_bonusBox1;
- public GTextField m_txtStarCount;
- public GGroup m_bonusBox;
- public GLoader m_switchChapter;
- public GTextField m_ZCJBTimeText;
- public GGroup m_ActivityZCJB;
- public GLoader m_suitBg;
- public GTextField m_suitText;
- public GLoader m_suitIcon;
- public GTextField m_suitNum;
- public GGroup m_targetSuit;
- public Transition m_t0;
- public const string URL = "ui://mfvz4q8km7n51u";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "StoryChapterUI";
- private static UI_StoryChapterUI _proxy;
- public static UI_StoryChapterUI Create(GObject gObject = null)
- {
- var ui = new UI_StoryChapterUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_StoryChapterUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_StoryChapterUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_bgEffect = (GGraph)comp.GetChild("bgEffect");
- m_chapter = (UI_CompChapter)UI_CompChapter.Create(comp.GetChild("chapter"));
- m_valueBar = (GComponent)comp.GetChild("valueBar");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnHome = (GButton)comp.GetChild("btnHome");
- m_txtChapter = (GTextField)comp.GetChild("txtChapter");
- m_txtBg = (GLoader)comp.GetChild("txtBg");
- m_txtChapterName0 = (GTextField)comp.GetChild("txtChapterName0");
- m_txtChapterName1 = (GTextField)comp.GetChild("txtChapterName1");
- m_txtChapterName2 = (GTextField)comp.GetChild("txtChapterName2");
- m_txtChapterName3 = (GTextField)comp.GetChild("txtChapterName3");
- m_txtChapterName4 = (GTextField)comp.GetChild("txtChapterName4");
- m_selectChapter = (GGroup)comp.GetChild("selectChapter");
- m_bonusBox3 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox3"));
- m_bonusBox2 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox2"));
- m_bonusBox1 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox1"));
- m_txtStarCount = (GTextField)comp.GetChild("txtStarCount");
- m_bonusBox = (GGroup)comp.GetChild("bonusBox");
- m_switchChapter = (GLoader)comp.GetChild("switchChapter");
- m_ZCJBTimeText = (GTextField)comp.GetChild("ZCJBTimeText");
- m_ActivityZCJB = (GGroup)comp.GetChild("ActivityZCJB");
- m_suitBg = (GLoader)comp.GetChild("suitBg");
- m_suitText = (GTextField)comp.GetChild("suitText");
- m_suitIcon = (GLoader)comp.GetChild("suitIcon");
- m_suitNum = (GTextField)comp.GetChild("suitNum");
- m_targetSuit = (GGroup)comp.GetChild("targetSuit");
- m_t0 = comp.GetTransition("t0");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_bgEffect = null;
- m_chapter.Dispose();
- m_chapter = null;
- m_valueBar = null;
- m_btnBack = null;
- m_btnHome = null;
- m_txtChapter = null;
- m_txtBg = null;
- m_txtChapterName0 = null;
- m_txtChapterName1 = null;
- m_txtChapterName2 = null;
- m_txtChapterName3 = null;
- m_txtChapterName4 = null;
- m_selectChapter = null;
- m_bonusBox3.Dispose();
- m_bonusBox3 = null;
- m_bonusBox2.Dispose();
- m_bonusBox2 = null;
- m_bonusBox1.Dispose();
- m_bonusBox1 = null;
- m_txtStarCount = null;
- m_bonusBox = null;
- m_switchChapter = null;
- m_ZCJBTimeText = null;
- m_ActivityZCJB = null;
- m_suitBg = null;
- m_suitText = null;
- m_suitIcon = null;
- m_suitNum = null;
- m_targetSuit = null;
- m_t0 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|