大约有 1,050 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0048 秒)
Laya_社区(959) Laya2.0_文档(47) Laya3.0_文档(19) Laya2.0_api(12) Laya2.0_示例(5) Laya_示例(5) laya_api(2) Laya3.0_api(1)
...一个View,随便拖一张图进去,生成了一个Image。变量名为test。 然后代码里对这个Image重新load图形。this.test.loadImage("pic/close.png") 完了发现并没有把"close.png"加载进去,只是大小变为了close.png的大小?只是为何 2018-08-16 1 条评论 免费...
来源: Laya_社区 发布时间: 20180816
...象的,LayaBox怎么二次开发?请指导 如,android里写了一个Test类, public class Test { private Context context; public void init(final Context context) { this.context = context; } public void msg() { Log.d("layabox", "test"); Toast.makeText(context, "测试", Toast.LENGTH_SHORT).sho...
来源: Laya_社区 发布时间: 20180423
...ue Gold.jpg", type: Laya.Loader.IMAGE} ]); 附件 : --> Test.zip 2022-01-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Yan 赞同来自: 请用使用的版本是多少呢? 2022-01-08 ...
来源: Laya_社区 发布时间: 20220107
... Laya.Box() for(let i =0;i<1000;i++){ let t = new Laya.Text() t.text = 'test' t.color = '#ffffff' container.addChild(t) } Laya.stage.addChild(container)新建一个精灵 向其中插入1000个文字 内存快照变为10.5var WebGL = laya.webgl.WebGL; Laya.init(600, 400, WebGL); let container = n...
来源: Laya_社区 发布时间: 20180728
movieclip destroy 后重新加载失败 ==================test================ >>getMovieClipAtlas: res/swf/bomb.swf true >>onLoadedHandler1: Handler {once: true, _id: 6, caller: LayaSample, args: undefined} >>bomb: MovieClips {frames: 0, callback: null, _isRemove: false, _group: ...
来源: Laya_社区 发布时间: 20170523
..._SRC_ALPHA RENDER_STATE_BLEND_SRC_RGB RENDER_STATE_CULL RENDER_STATE_DEPTH_TEST RENDER_STATE_DEPTH_WRITE RENDER_STATE_STENCIL_OP RENDER_STATE_STENCIL_REF RENDER_STATE_STENCIL_TEST RENDER_STATE_STENCIL_WRITE debugMode debugShaderVariantCollection Accessors name Methods addSubShader getSubShaderAt add...
来源: Laya3.0_api 发布时间: 20231102
...在模型上方添加一个3D小球,给小球添加刚体。 场景1(Test1):运行unity,小球会停在模型表面,运行layaair run,小球会碰撞模型并落下。 场景2(Test2):修改模型scale,并移动模型位置,小球仍处于模型上方,运行unity,小球...
来源: Laya_社区 发布时间: 20181229
... material.diffuseTexture = Texture2D.load("res/test4.png"); sphere.meshRender.material = material; test4.png是一张1024*512的图,我想提高贴图的清晰度 有人说可以通canvas缩放来实现 具体怎么做? 不用Texture2D.load("res/test4.png")?...
来源: Laya_社区 发布时间: 20180601
...er.js:4921:32) at Function.LayaNative2D.__init__ (http://plane.test.tinyfunny.ne ... 902:45) at Function.RunDriver.enableNative (http://plane.test.tinyfunny.ne ... 989:17) at Object.Laya.init (http://plane.test.tinyfunny.ne ... 273:14) 2019-08-19 添加评论 免...
来源: Laya_社区 发布时间: 20190819
...ledMap = new TiledMap(); tiledMap.createMap("../../res/tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } })();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; import Rectangle = Laya.Rectangle; import WebGL = Laya.We...
来源: Laya_示例 发布时间: 20250312