UI_btnFight.ts 473 B

12345678910111213141516171819202122
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. export default class UI_btnFight extends fgui.GButton {
  3. public m_n4:fgui.GImage;
  4. public static URL:string = "ui://aoeqxv60w49yj";
  5. public static createInstance():UI_btnFight {
  6. return <UI_btnFight>(fgui.UIPackage.createObject("Fight","btnFight"));
  7. }
  8. public constructor() {
  9. super();
  10. }
  11. protected onConstruct(): void {
  12. this.m_n4 = <fgui.GImage>(this.getChildAt(0));
  13. }
  14. }