cocos creator 3.3.0 examples

This commit is contained in:
King Wang
2021-09-02 00:27:24 +08:00
parent 4bfe797a89
commit c21445548e
58 changed files with 11943 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "cf5523f9-257d-4ab2-8926-bea90fb7572e",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
{
"ver": "1.1.30",
"importer": "scene",
"imported": true,
"uuid": "86c03e47-dc7e-4335-92f0-cf39fcd2462e",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,44 @@
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
/**
* Predefined variables
* Name = ChatScene
* DateTime = Wed Sep 01 2021 23:21:08 GMT+0800 (中国标准时间)
* Author = twsmj
* FileBasename = ChatScene.ts
* FileBasenameNoExtension = ChatScene
* URL = db://assets/scenes/ChatScene/ChatScene.ts
* ManualUrl = https://docs.cocos.com/creator/3.3/manual/en/
*
*/
@ccclass('ChatScene')
export class ChatScene extends Component {
// [1]
// dummy = '';
// [2]
// @property
// serializableDummy = 0;
start () {
// [3]
}
// update (deltaTime: number) {
// // [4]
// }
}
/**
* [1] Class member could be defined like this.
* [2] Use `property` decorator if your want the member to be serializable.
* [3] Your initialization goes here.
* [4] Your update function goes here.
*
* Learn more about scripting: https://docs.cocos.com/creator/3.3/manual/en/scripting/
* Learn more about CCClass: https://docs.cocos.com/creator/3.3/manual/en/scripting/ccclass.html
* Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.3/manual/en/scripting/life-cycle-callbacks.html
*/

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "73fb73c7-9edb-4a71-b81c-212c00827031",
"files": [],
"subMetas": {},
"userData": {}
}