兼容最新版本框架

This commit is contained in:
dgflash
2025-03-25 23:42:04 +08:00
parent 08b2f7f4a4
commit 6fd3482228
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
[InternetShortcut]
URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template

View File

@@ -265,7 +265,7 @@
"_priority": 1073741824,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 362.993762993763,
"_orthoHeight": 360,
"_near": 1,
"_far": 2000,
"_color": {

View File

@@ -14,6 +14,36 @@
"webSocketReceiveTime": 10000,
"webSocketReconnetTimeOut": 3000
},
"gui": [
{
"name": "LayerGame",
"type": "Node"
},
{
"name": "LayerUI",
"type": "UI"
},
{
"name": "LayerPopUp",
"type": "PopUp"
},
{
"name": "LayerDialog",
"type": "Dialog"
},
{
"name": "LayerSystem",
"type": "Dialog"
},
{
"name": "LayerNotify",
"type": "Notify"
},
{
"name": "LayerGuide",
"type": "Node"
}
],
"language": {
"default": "zh",
"type": [

View File

@@ -20,6 +20,10 @@ const { ccclass, property } = _decorator;
export class Main extends Root {
start() {
if (DEBUG) profiler.showStats();
oops.storage.set("AAAA", "1111");
console.log(oops.storage.get("AAAA"));
}
protected run() {