大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
.../scene/materialScene/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210715
...摇报错,就解决方案 导微信小程序报错window.focus is not a function 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 微信小程序 发布后缺少app.json文件 问题状态 最新活动: 2020-03-30 17:55 ...
来源: Laya_社区 发布时间: 20190725
...上面和下面的代码在两个不同的页面------------- _proto.run = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y > Laya.B...
来源: Laya_社区 发布时间: 20180823
...nt cullPlanes cullSphere direction position Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...!getUint16 error - Out of bounds";at api request success callback function String
来源: Laya_社区 发布时间: 20200115
...wf运行会报错 报错类:laya.ui.View 报错方法:protected static function getCompInstance(json:Object):Component 见附件 [故障] exception, 信息=TypeError: Error #1010: 术语尚未定义,并且无任何属性。 求务必在下个版本解决这个问题,不然没法发布swf了...
来源: Laya_社区 发布时间: 20160918
...否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...
来源: Laya_社区 发布时间: 20180415
...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714
...: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下: 另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的 2018-04-02 0 1 分享 微博 QZONE 微信 Laya_XS 赞同...
来源: Laya_社区 发布时间: 20180402
...} 2、在Main.ts中写入实现 Laya.Graphics.prototype.drawRoundrect = function(x: number, y: number, width: number, height: number, round: number, fillColor: any, lineColor?: any, lineWidth?: number):void { if(this instanceof Laya.Graphics == false ){ return; } let sideMin:number ...
来源: Laya_社区 发布时间: 20210123