大约有 148 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
...例就可以拥有不同的播放速度了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = c...
来源: Laya_社区 发布时间: 20170420
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 本地调试加载本地图片都报错 小游戏项目 加载有中文的json文件 报错 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plug...
来源: Laya_社区 发布时间: 20190812
...3D; 可以帮我测试看看吗? 错误讯息: value.cloneTo is not a function at AnimationTransform3D.__proto.setLocalRotation LayaScene_Scene_LightMap.zip 2018-02-01 0 1 分享 微博 QZONE 微信 mobile3Dbin 赞同来自: 1.7.12、1.7.13的版号不是插件,是引擎的版号。 2...
来源: Laya_社区 发布时间: 20180131
...Component(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new CustomTerrainMaterial(); cust...
来源: Laya_示例 发布时间: 20261113
让 CylinderMesh 支持椎体 function CylinderMesh(radius,radius2,height,slices){创建出下面半径大小 修改第二个循环结构, 也就是柱状顶点绘制 __proto.recreateResource=function(){ this._numberVertices=(this._slices+1+1)+(this._slices+1)*2+(this._slices+1+1); this._numb...
来源: Laya_社区 发布时间: 20180113
...ure2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 var tilingOffset = planeMat.tilingOffset; tilingOffset.setValue(5, 5, 0, 0); plan...
来源: Laya_社区 发布时间: 20210103
...837 Uncaught TypeError: Cannot read property 'props' of undefined at Function.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837) at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933) at EventHandler.__proto.runWith (libs/laya.core.js:1628) at Loader.__proto.e...
来源: Laya_社区 发布时间: 20170428
...: //设置鼠标弹起事件响应 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.endPoint.y]; //调用A* serach方法获得最短路径 this._everyPath ...
来源: Laya3.0_文档 发布时间: 20230303