[LayaAirIDE 2.0]LayaAir2.0的GameConfig.ts
模块化(命名空间) VIEW等ts代码使用 moudule xxx{......}的书写方式 :
除非采用 , 如下:
module的方案很更好好啊 , 如何实现module的方案 ????
module app{那么在GameConfig将会报错 , 因为会自动刷新.
/**
* 登录加载界面
* @author Husz
*/
export class LoadingView extends Laya.View implements small_lib.ILoadingView
除非采用 , 如下:
/**
* 登录加载界面
* @author Husz
*/
export default class LoadingView extends Laya.View implements small_lib.ILoadingView
module的方案很更好好啊 , 如何实现module的方案 ????
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
Aar0n
赞同来自:
177*****949
赞同来自: