cx-cocos/cx-framework3.1/cx/scripts/cxui.mainScene.ts
2021-06-07 15:13:32 +08:00

14 lines
222 B
TypeScript

import {_decorator, Component, setDisplayStats} from 'cc';
const {ccclass} = _decorator;
@ccclass('cxui.MainScene')
class CxuiMainScene extends Component
{
onLoad ()
{
setDisplayStats(false);
cx.init(this);
}
}