大约有 272 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)
...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
...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
...行后就会报下面的错: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
...用,强行在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
...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
...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
...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
...举_不剔除。 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
...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
...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