[mod] 換位置

This commit is contained in:
2022-08-01 17:30:55 +08:00
parent 7d4efe136f
commit 3ad595a279
42 changed files with 5 additions and 78 deletions

View File

@@ -0,0 +1,50 @@
{
"paths": {},
"uuids": [
"29FYIk+N1GYaeWH/q1NxQO",
"2dL3kvpAxJu6GJ7RdqJG5J",
"31vIlawANFZqnzLlSuHBfc",
"41D7kWhyFGY7q4NDlzkazn",
"6aoKpq6+5BVaCIpoemqt7E",
"71VhFCTINJM6/Ky3oX9nBT",
"a8Anh32NZGRZegUtSgEj26",
"b4P/PCArtIdIH38t6mlw8Y",
"e8Ueib+qJEhL6mXAHdnwbi",
"e97GVMl6JHh5Ml5qEDdSGa",
"ecpdLyjvZBwrvm+cedCcQy",
"f0BIwQ8D5Ml7nTNQbh1YlS"
],
"scenes": {
"db://assets/Scene/helloworld.fire": "2dL3kvpAxJu6GJ7RdqJG5J"
},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0
],
"deps": [
"internal"
],
"packs": {
"03f133834": [
"29FYIk+N1GYaeWH/q1NxQO",
"2dL3kvpAxJu6GJ7RdqJG5J",
"31vIlawANFZqnzLlSuHBfc",
"41D7kWhyFGY7q4NDlzkazn",
"e97GVMl6JHh5Ml5qEDdSGa",
"f0BIwQ8D5Ml7nTNQbh1YlS"
],
"0e489d570": [
"6aoKpq6+5BVaCIpoemqt7E",
"71VhFCTINJM6/Ky3oX9nBT",
"a8Anh32NZGRZegUtSgEj26",
"b4P/PCArtIdIH38t6mlw8Y",
"e8Ueib+qJEhL6mXAHdnwbi"
]
},
"name": "main",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
{
"type": "cc.Texture2D",
"data": "0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"
}

View File

@@ -0,0 +1,89 @@
window.__require = function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
}({
HelloWorld: [ function(require, module, exports) {
"use strict";
cc._RF.push(module, "fdc7afxuBxOA7RfBuV+NSmm", "HelloWorld");
"use strict";
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) Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
};
return extendStatics(d, b);
};
return function(d, b) {
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
};
}();
var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if ("object" === typeof Reflect && "function" === typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", {
value: true
});
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var HelloWorld = function(_super) {
__extends(HelloWorld, _super);
function HelloWorld() {
var _this = null !== _super && _super.apply(this, arguments) || this;
_this.Label = null;
_this.Text = "hello";
_this.Btn = null;
return _this;
}
HelloWorld.prototype.onLoad = function() {
var self = this;
this.Label.string = this.Text;
window["eventBus"].on("SendContent", function(content) {
self.Label.string = content;
});
};
HelloWorld.prototype.onClickBtn = function() {
window["eventBus"].emit("Alert", "hello");
};
__decorate([ property(cc.Label) ], HelloWorld.prototype, "Label", void 0);
__decorate([ property ], HelloWorld.prototype, "Text", void 0);
__decorate([ property(cc.Button) ], HelloWorld.prototype, "Btn", void 0);
HelloWorld = __decorate([ ccclass ], HelloWorld);
return HelloWorld;
}(cc.Component);
exports.default = HelloWorld;
cc._RF.pop();
}, {} ]
}, {}, [ "HelloWorld" ]);

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB