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

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

681. 二次开发 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...var bridge; var obj = {} as any; if (os == "Conch-ios") { bridge = PlatformClass.createClass("JSBridge");//创建脚步代理 } else if (os == "Conch-android") { //需要完整的路径,注意与iOS的不同 bridge = PlatformClass.createClass("demo.JSBridge");//创建脚步代理 } if (os == "C...

来源: Laya3.0_文档 发布时间: 20250422

682. laya.d3.core.particleShuriKen.module.GradientColor [ 63%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientColorProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientColorInheritanceGradientColor ObjectImplements laya.d3.core.IClone GradientColor 用于创建渐变颜色。 Publi...

来源: Laya2.0_api 发布时间: 20190513

683. webgl 下当对象子显示对象存在panel且panel有子集时,旋转此显示对象会导致此显示对象的同级对象消失!(1.7.10beta) [ 63%]

...见。   显示对象层级关系如下: 代码如下:// 程序入口 class GameMain{ constructor() { Laya.init(1280,720,Laya.WebGL);//只有webGL才会有问题 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.alignV = Laya.Stage.ALIGN_TOP; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER;...

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

684. 为什么这个ui中给这个TextInput组件runtime属性绑定了一个 [ 63%]

...个TextInput组件runtime属性绑定了一个 绑定了这个后, class TextInputEx extends Laya.TextInput constructor() { console.log("执行了"); super() ; } // 获取焦点 onFocus() : void { console.log("焦点进入"); // 是否缓存初始的文本提示字符串和文本颜色. if (...

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

685. laya.d3.core.particleShuriKen.module.GradientColor [ 63%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientColorProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientColorInheritanceGradientColor ObjectImplements laya.d3.core.IClone GradientColor 用于创建渐变颜色。 Publi...

来源: laya_api 发布时间: 20170929

686. 请问UI之间的场景切换要怎么写 [ 63%]

...s.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = function(e){ onWxSign1(); } return sg_sign; })(ui.sg_sig...

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

687. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 63%]

... <code>Component3D</code> 用于创建组件的父。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerE...

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

688. 如何自定义 d.ts 文件 - typescript [ 63%]

...s 文件中,声明的型为interface时,不会有代码提示. 更改为class 就好了.. 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ZJ 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然...

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

689. 如何将字符串变成数字? [ 63%]

...有通过一个的名字(字符串)来获取该的方法?似get class by name IDE中选中字符串大小写转换快捷键 发布后的js能不能全部变成.min.js(就像egretwing发版后),这样一定程度上能保护源码 HttpRequest无法发送除字符串以外的数据 ...

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

690. 怎样获取父[ 63%]

...re.on(Laya.Event.MOUSE_UP,this,onSure); function onSure(params) { } } Laya.class(TipsView,"TipsView",TipsViewUI); return TipsView; })();   2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 15818760256 赞...

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