ddd
This commit is contained in:
@@ -11,7 +11,7 @@ import { AsyncQueue, NextFunction } from "../../../../extensions/oops-plugin-fra
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { UIID } from "../common/config/GameUIConfig";
|
||||
import { LoadingViewComp } from "./view/LoadingViewComp";
|
||||
|
||||
import {data} from "../data/data";
|
||||
/**
|
||||
* 游戏进入初始化模块
|
||||
* 1、热更新
|
||||
@@ -20,10 +20,12 @@ import { LoadingViewComp } from "./view/LoadingViewComp";
|
||||
@ecs.register(`Initialize`)
|
||||
export class Initialize extends ecs.Entity {
|
||||
LoadingView!: LoadingViewComp;
|
||||
|
||||
data:data=null!;
|
||||
protected init() {
|
||||
var queue: AsyncQueue = new AsyncQueue();
|
||||
|
||||
this.data=ecs.getEntity<data>(data);
|
||||
this.data.dataModel.vmAdd();
|
||||
var queue: AsyncQueue = new AsyncQueue();
|
||||
// 加载自定义资源
|
||||
this.loadCustom(queue);
|
||||
// 加载多语言包
|
||||
|
||||
Reference in New Issue
Block a user