大约有 1,557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
...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
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
...见。 显示对象层级关系如下: 代码如下:// 程序入口 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
...个TextInput组件runtime属性绑定了一个类 绑定了这个类后, class TextInputEx extends Laya.TextInput constructor() { console.log("执行了"); super() ; } // 获取焦点 onFocus() : void { console.log("焦点进入"); // 是否缓存初始的文本提示字符串和文本颜色. if (...
来源: Laya_社区 发布时间: 20181012
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
...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
... <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
...s 文件中,声明的类型为interface时,不会有代码提示. 更改为class 就好了.. 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ZJ 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟然...
来源: Laya_社区 发布时间: 20180522
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name IDE中选中字符串大小写转换快捷键 发布后的js能不能全部变成.min.js(就像egretwing发版后),这样一定程度上能保护源码 HttpRequest无法发送除字符串以外的数据 ...
来源: Laya_社区 发布时间: 20180124
...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