• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 272 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)

261. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 50%]

...yaScene_gamescene/Conventional/chest01.lh", Laya.Handler.create(this, function(sp:Laya.Sprite3D):void { console.log("111111111111111111111") var target: Laya.Sprite3D = scene3d.addChild(sp) as Laya.Sprite3D; camera.convertScreenCoordToOrthographicCoord(pos, translate); target.transfor...

来源: Laya_社区 发布时间: 20191206

262. 我升级引擎到1.7.16beta,从Unity导入的模型就遇到问题了,可以帮我查看一下吗? [ 50%]

...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

263. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 50%]

...行后就会报下面的错:Error: Mismatched anonymous define() module: function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const t = require("./test/TestExportClass"); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); c...

来源: Laya_社区 发布时间: 20171116

264. 刚刚接触2天layaair,有几个问题请教。 [ 49%]

...用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,请问有没有类似教程呢。 问题3)我在Scenes 新建了2个view,一个是v1一个是v2。其中v1里面...

来源: Laya_社区 发布时间: 20181027

265. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 48%]

...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

266. 分享:关于自定义场景继承的实现 [ 47%]

...from "../script/base/BaseScene"; import BaseScene=base.BaseScene; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class CustomSceneUI extends BaseScene { public txt_hello:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Custo...

来源: Laya_社区 发布时间: 20200827

267. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 46%]

...r=new Handler(this,onTreeRender); // 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的alpha属性并赋值给Item对象 if(e._dataSource.isAlpha) { var alphaNum:Number=e._dataSource.isAlpha; e.alpha=alphaNum; }//如果未设置alpha的项,则默认透明...

来源: Laya_社区 发布时间: 20170717

268. laya.d3.core.material.RenderState_API3.0 [ 44%]

...举_不剔除。 Static DEPTHTEST_ALWAYS DEPTHTEST_ALWAYS: number = CompareFunction.Always Defined in laya/d3/core/material/RenderState.ts:83 深度测试函数枚举_总是通过。 Static DEPTHTEST_EQUAL DEPTHTEST_EQUAL: number = CompareFunction.Equal Defined in laya/d3/core/material/RenderState.t...

来源: Laya3.0_api 发布时间: 20231102

269. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 42%]

...99999"); Laya.stage.addChild(sp);4、实现超链接 示例如下:public function HtmlDemo() { var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span href='http://ask.layabox.com/'>LayaBox欢迎你的加入!</span>"; div.on(Event.LINK,this,onLink); Laya.stage.addChild(div)...

来源: Laya_社区 发布时间: 20161027

270. laya.media.SoundManager_API3.0 [ 40%]

...me stopAll stopAllSound stopMusic stopSound Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115