mirror of
https://gitee.com/dgflash/oops-game-kit.git
synced 2026-09-03 08:34:33 +08:00
兼容最新版本框架
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template
|
||||
@@ -265,7 +265,7 @@
|
||||
"_priority": 1073741824,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 362.993762993763,
|
||||
"_orthoHeight": 360,
|
||||
"_near": 1,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user