大约有 459 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0124 秒)
...body> </html> 然后我把MainActivity中的initEngine方法中的设置入口页面方法改成了mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/index_native.html"); 然后再运行layanative refreshres 这样应该是可以的吧 2018-03-10 0 0 分享 微...
来源: Laya_社区 发布时间: 20180310
...w Laya.DirectionLight(); scene.addChild(directionLight); //设置平行光颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); var layaMonkey:Laya.Sprite3D = scene.addChild(Laya.Loader.getRes("Export/LayaScene_JJF/Conventional/JJF.lh")) as Laya.Sprit...
来源: Laya_社区 发布时间: 20190531
...ityPlugin 功能介绍: Mesh Setting --- 网格设置 Ignore Vertices Tangent 忽略顶点切线信息,可减小lm文件大小 Ignore Vertices Color 忽略顶点颜色信息,可减小lm文件大小 ...
来源: Laya_社区 发布时间: 20170428
...nnerHtml赋值的时候带有<img> 标签。 但是<span>标签设置字体颜色和字体大小是有效的啊 Monica • 2018-01-06 18:03 @momo199059:使用HTMLDivElement显示图片的话是不会有问题的,你看下是否是这样用的https://ldc.layabox.com/doc/?nav=zh-as-8-0-1...
来源: Laya_社区 发布时间: 20180106
...面的send已经执行完毕了,。而且我再UI完毕的时候 已经设置了event.stopPropagation();,也就是 this._event._stoped应该是个true, 既然已经是true了,是否可以不执行 循环里面 添加 发送的其他消息了,因为这个stop 就是阻止后面的所有监...
来源: Laya_社区 发布时间: 20180529
...yer.x, this.player.y)){ //人物如果踩到地板了 就把人物的坐标设置到地板上面 this.player.y = floor.y; //如果到地板上面的 就得重置跳的方法 this.player.jumpReset(); } } } //点击 出发人物 跳跃 _proto.onMouseDown = function(){ this.player.jump(); } _proto.onMo...
来源: Laya_社区 发布时间: 20160803
...sprite我在原地画了个圆为什么只有右下区域能点击,明明设置了mouseEnabled=true,设置了size了呢?虽然官方的文档说明里有介绍,真心很多不细看的人压根不知道,也包括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle...
来源: Laya_社区 发布时间: 20161109
...还未发送时为 null只读。 responseType XMLHttpRequestResponseType 设置该值能够改变响应类型。就是告诉服务器你期望的响应格式。 status unsigned short 该请求的响应状态码 (例如,状态码200 表示一个成功的请求).只读 statusText DOMString 该请求...
来源: Laya3.0_文档 发布时间: 20250104
...点击地面时,通过鼠标事件发起获得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.en...
来源: Laya3.0_文档 发布时间: 20230303