@@ -20,15 +20,11 @@ export default class UISystem extends cc.Component {
/** 上一个打开的界面名称 */
private lastOpenPanelName: string = "";
- /** onLoad */
onLoad() {
- //自行赋值
mk.ui = this;
}
-
- /** start */
+
start() {
- //自己赋节点
if (!this.panelParent) {
this.panelParent = this.node;