mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-06 16:50:22 +08:00
16 lines
436 B
JavaScript
16 lines
436 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.TemplateGameComponent = void 0;
|
|
exports.TemplateGameComponent = `import { _decorator } from 'cc';
|
|
import { GameComponent } from "db://oops-framework/module/common/GameComponent";
|
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
/** 显示对象控制 */
|
|
@ccclass('<%Name%>')
|
|
export class <%Name%> extends GameComponent {
|
|
protected start() {
|
|
|
|
}
|
|
}`;
|