大约有 16 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...的? STATICATTR$(TestPageUI, ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,...
来源: Laya_社区 发布时间: 20170330
...ngel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = ...
来源: Laya_社区 发布时间: 20170720
...的链接 提交 2 个回复 Laya_Aaron 赞同来自: on(Event.MOUSE_DOWN,this,onClick); 试一下吧 onclick 函数里再打印log 2017-12-13 0 10 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个进度条 var 为pro 另外一张图的类继承了之前页面发布生成的类,直接...
来源: Laya_社区 发布时间: 20171213
... = console.log; console.warn = console.log; console.error = console.log; } this._message = new Message(); this._package = new Package(); this.socket = null; this.callbacks = {}; this.handlers = {}; // Map from request id to route this.routeMap = {}; this.heartbeatInterval = 0; this.heartbeatTimeout ...
来源: Laya_社区 发布时间: 20180119
...? STATICATTR$(TestPageUI, ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,...
来源: Laya_社区 发布时间: 20170330
...ll.js文件 里面的组件名正确 layaUI.max.all.js: this.pauseBtn=null; this.hpLabel=null; this.levelLabel=null; this.scoreLabel=null; this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) { ...
来源: Laya_社区 发布时间: 20171118
... _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = true; } this.setShaderName("CMatShader"); } public SetM...
来源: Laya_社区 发布时间: 20190814
关于checkbox全选的问题 invite.cb_all.on("change",this,function():void{ if(invite.cb_all.selected){ trace("全选"); }else{ trace("取消全选"); } },[cb_all])以上是关于底部ckeckbox的监听函数,想实现全部选择和全部取消的功能,试了很多方法都不行,请教有没...
来源: Laya_社区 发布时间: 20171019
...多个图集 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onload)); 这样写只能添加一个图集,我想问有没有办法用一句代码同时添加其他图集 2018-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180809
...说明 1、在laya.d3.js中找到Camera.render函数 2、render函数中,this._prepareCameraToRender();这一行后面添加如下代码 if(this._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光...
来源: Laya_社区 发布时间: 20200110