Files
fc/publish/sdk/android/jsb-link/js backups (useful for debugging)/resources.index.js
T

77 lines
1.7 KiB
JavaScript
Raw Normal View History

2026-05-23 22:10:14 +08:00
window.__require = function e(t, n, i) {
function r(s, c) {
if (!n[s]) {
if (!t[s]) {
var u = s.split("/");
u = u[u.length - 1];
if (!t[u]) {
var a = "function" == typeof __require && __require;
if (!c && a) return a(u, !0);
if (o) return o(u, !0);
throw new Error("Cannot find module '" + s + "'");
}
s = u;
}
var d = n[s] = {
exports: {}
};
t[s][0].call(d.exports, function(e) {
return r(t[s][1][e] || e);
}, d, d.exports, e, t, n, i);
}
return n[s].exports;
}
for (var o = "function" == typeof __require && __require, s = 0; s < i.length; s++) r(i[s]);
return r;
}({
"shader.flash": [ function(e, t) {
"use strict";
cc._RF.push(t, "68dcelbAH1Olb54oCMb3sJY", "shader.flash");
cc.Class({
extends: cc.Component,
properties: {
_time: 0
},
editor: {
executeInEditMode: !1,
requireComponent: cc.RenderComponent,
disallowMultiple: !0,
menu: "着色器/shader.flash 闪光"
},
onLoad: function() {
this.rc = this.node.getComponent(cc.RenderComponent);
},
update: function(e) {
this.rc.getMaterial(0).setProperty("Time", this._time);
this._time > 65535 && (this._time = 0);
this._time += e;
}
});
cc._RF.pop();
}, {} ],
"shader.fluxay": [ function(e, t) {
"use strict";
cc._RF.push(t, "eca6e2uhshFmbjUG9diX117", "shader.fluxay");
cc.Class({
extends: cc.Component,
properties: {
_time: 0
},
editor: {
executeInEditMode: !0,
requireComponent: cc.RenderComponent,
disallowMultiple: !0,
menu: "着色器/shader.fluxay 流光"
},
onLoad: function() {
this.rc = this.node.getComponent(cc.RenderComponent);
},
update: function(e) {
this.rc.getMaterial(0).setProperty("time", this._time);
this._time > 65535 && (this._time = 0);
this._time += e;
}
});
cc._RF.pop();
}, {} ]
}, {}, [ "shader.flash", "shader.fluxay" ]);