12345678910111213141516171819202122232425262728 |
- var t = require;
- var e = module;
- var i = exports;
- Object.defineProperty(i, "__esModule", {value: !0});
- const s = t("App"),
- o = (t("ViewConst"), t("B3Tree1"));
- class a extends o.BaseAction {
- setTouchState(t, e) {
- t.blackboard.set("state", e, t.tree.id, this.id);
- }
- open(t) {}
- tick(t) {
- return s.default.ViewManager.isShow(15)
- ? t.blackboard.get("state", t.tree.id, this.id)
- ? o.b3.SUCCESS
- : (t.target.showMask(this.properties.opacity),
- this.properties.args
- ? (t.target.locatorTouchNodeAsync(this.properties, () => {
- this.setTouchState(t, !0);
- }),
- this.setTouchState(t, !1),
- o.b3.RUNNING)
- : (this.setTouchState(t, !0), o.b3.SUCCESS))
- : (t.target.openGuideView(), o.b3.RUNNING);
- }
- close(t) {}
- }
- (i.default = a), o.register(a, "NGAShowMask");
|