text: "use strict";
  /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = function (d, b) {
          extendStatics = Object.setPrototypeOf ||
              ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
              function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
          return extendStatics(d, b);
      };
      return function (d, b) {
          if (typeof b !== "function" && b !== null)
              throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  exports.__esModule = true;
  var fgui = require("ue");
  var UI_BtnTown = /** @class */ (function (_super) {
      __extends(UI_BtnTown, _super);
      function UI_BtnTown() {
          return _super !== null && _super.apply(this, arguments) || this;
      }
      UI_BtnTown.CreateComponent = function (WorldContextObject) {
          return fgui.UIPackage.CreateObjectFromURL(UI_BtnTown.URL, WorldContextObject, fgui.GComponent.StaticClass());
      };
      UI_BtnTown.createInstance = function (component, WorldContextObject) {
          var obj = new UI_BtnTown();
          if (component == null) {
              component = UI_BtnTown.CreateComponent(WorldContextObject);
          }
          obj.Bind(component, WorldContextObject);
          return obj;
      };
      UI_BtnTown.prototype.Bind = function (component, WorldContextObject) {
          this.view = component;
          this.m_button = component.GetController("button");
          this.m_n0 = component.GetChild("n0");
      };
      UI_BtnTown.URL = "ui://sn18zihkq13147";
      UI_BtnTown.Package = "MainPage";
      UI_BtnTown.Component = "BtnTown";
      return UI_BtnTown;
  }(fgui.FairyGuiView));
  exports["default"] = UI_BtnTown;
  