Laya.init(600,400,laya.webgl.WebGL);这里的600,400能否动态设置,比如手机上,获取显示区域的大小,传给引擎。
Laya.init(Laya.stage.width,Laya.stage.height);