大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(657) Laya_示例(157) Laya2.0_文档(129) Laya2.0_示例(116) Laya3.0_api(72) Laya3.0_文档(11) laya_api(11) Laya2.0_api(9)
... public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); /**测试 */ var o:Object = new Object()...
来源: Laya_社区 发布时间: 20171011
...mport common.Tool; /** * ... * @author */ public class CustomMesh { public function CustomMesh() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; var camera:Camera ...
来源: Laya_示例 发布时间: 20261113
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function 关于龙骨动画转换 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2017-01-24 13:19 浏览: 1503 关注: 3 人 Laya_XS • 2017-01-24 20:19 我们的不会报错,是因为我们每...
来源: Laya_社区 发布时间: 20170123
...e:///D:/works/laya/3dTest/bin/libs/laya.physics3D.runtime.js:365:115 at Function.Laya3D.init (file:///D:/works/laya/3dTest/bin/libs/laya.d3.js:2143:4) at new Main (file:///D:/works/laya/3dTest/bin/js/bundle.js:75:32) at Object.2../GameConfig (file:///D:/works/laya/3dTest/bin/js/bundle.js:12...
来源: Laya_社区 发布时间: 20190806
...utils.Handler; import ui.EffectAnimationDemoUI; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //加载图集资源,加载成功后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this...
来源: Laya2.0_文档 发布时间: 20210715
...mport layaair.game.browser.ConchJNI; import layaair.game.browser.ExportJavaFunction; /** * Created by Administrator on 2017/7/19. */ public class YIMMain { private final String TAG = "MarketTest"; private final static String strAppKey = "123132123";//你申请的App Key private final static String s...
来源: Laya_社区 发布时间: 20170722
...Buf.Reflect.MessagePrototype.decode (protobuf.js?tick=17185:3249) at Function.ProtoBuf.Reflect.MessagePrototype.build.Message.decode (protobuf.js?tick=17185:2949) at ProtobufConverter.gtea.net.ProtobufConverter.__proto__.decode (gtea.js?tick=17185:1120) at XMLHttpRequest.BaseUI.ext...
来源: Laya_社区 发布时间: 20170118
..."LayaScene_game_scene/Conventional/game_scene.ls",Laya.Handler.create(this,function (scene) { Laya.stage.addChild(scene); } 我这样导入场景,不new相机,就是在unity运行时什么样LayaBox运行也什么样 如果你在Laya中又重新new了相机,比如这样 var c...
来源: Laya_社区 发布时间: 20190430
...xture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10)));...
来源: Laya_社区 发布时间: 20201127
...钮资源路径 private var skin:String = "./res/img/btn_test.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法...
来源: Laya2.0_文档 发布时间: 20210715