@@ -275,7 +275,7 @@
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
- "__type__": "4ec4ePvrN1EYKoxUo6gei22",
+ "__type__": "f0038hKHC9Nf5+ipaUV9rc5",
"_name": "",
"_objFlags": 0,
"node": {
@@ -283,6 +283,6 @@
"_enabled": true,
"mainfestUrl": null,
- "_id": "c2QmGuUxJHcoTQn1lSKaNK"
+ "_id": "c4ULP9xvJHFrQ1rqZQ7y7B"
}
]
@@ -0,0 +1,35 @@
+import TimeUtil from "../utils/TimeUtil";
+
+const { ccclass, property } = cc._decorator;
+@ccclass
+export default class MKSystem extends cc.Component {
+ @property({
+ type: cc.Asset,
+ })
+ mainfestUrl: cc.Asset = null;
+ time:TimeUtil;
+ start() {
+ this.initSystem();
+ }
+ private initSystem(){
+ //工具
+ this.time = new TimeUtil();
+ //sdk
+}
+declare global {
+ const mk: MKSystem;
+window['mk'] = new MKSystem();
@@ -1,6 +1,6 @@
"ver": "1.0.8",
- "uuid": "4ec4e3ef-acdd-4460-aa31-528ea07a2db6",
+ "uuid": "f003884a-1c2f-4d7f-9fa2-a5a515f6b739",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
@@ -1,16 +0,0 @@
-
-const { ccclass, property } = cc._decorator;
-@ccclass
-export default class Main extends cc.Component {
- @property({
- type: cc.Asset,
- })
- mainfestUrl: cc.Asset = null;
- start() {
- console.log("init");
- }
-}
@@ -0,0 +1,7 @@
+export default class TimeUtil {
+ constructor() {
@@ -0,0 +1,9 @@
+{
+ "ver": "1.0.8",
+ "uuid": "c10ef25f-80f9-4846-aa36-2110118b8abd",
+ "isPlugin": false,
+ "loadPluginInWeb": true,
+ "loadPluginInNative": true,
+ "loadPluginInEditor": false,
+ "subMetas": {}