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

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

1631. image.skin = base64 无效 [ 51%]

...内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 子域里面排行榜滑动无效,找不到原因。。跪求指导。。。 在设计模式里A元素比B元素层级低,当我点击舞台的时候给A的层级通过zOrder设...

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

1632. graphics持续绘制扇形问题 [ 51%]

...Child(pie); Laya.timer.frameLoop(1,this,onLoop); }   private var curAngle:Number = 0; private function onLoop():void { pie.graphics.drawPie(300,300,100,curAngle,curAngle+1,"#000000"); curAngle+=1; if(curAngle>360) { Laya.timer.clear(this,onLoop); } } 为了实现CD转圈的效果,所以持续...

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

1633. [LayaAir3]自定义字体在移动浏览器不起作用 [ 51%]

...this.loadHomeUI()       }     }), Laya.Handler.create(this, (resProg: number) => { // 第三个参数:进度回调       console.log("预加载资源进度>>>>", resProg)     })) 附件 : --> 2025-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

1634. Sprite-屏幕截图 [ 51%]

...oaded)); } private createButton(skin: string,name:string,cb:Function,index:number): Button { var btn: Button = new Button(skin,name); Laya.stage.addChild(btn); btn.on(Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } private o...

来源: Laya2.0_示例 发布时间: 20260303

1635. 性能分析插件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...= Laya; @regClass() export class NewScript extends Laya.Script { @property(Number) public projectId: number = 23; private perfMain: LayaPerf = new LayaPerf(); onEnable(): void { this.perfMain.init(this.projectId); } } projectId使用后端给项目分配的项目id,如图1-3所示,在后端界...

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

1636. 从app首页点击开始游戏进入游戏页,有时进去就是空白页面,日志里报这个错误 [ 51%]

...E(1)] "Uncaught NotSupportedError: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6).", source: https://static.car-me.com/stat ... re.js (1) 2018-07-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

1637. laya.d3.math.OrientedBoundBox [ 51%]

...虑尺寸的平方 OrientedBoundBox  intersectsRay(ray:Ray, out:Vector3):Number 该包围盒是否与空间中另一射线相交 OrientedBoundBox  merge(a:OrientedBoundBox, b:OrientedBoundBox, noMatrixScaleApplied:Boolean):void[static] 把一个Obb类型的包围盒b合入另一Obb型包围盒a ...

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

1638. 在as里面定义个全局变量,新加进去的JS文件里面是否可以引用这个全局变量? [ 51%]

...局变量? public class DataSingleton { public static var dxMerchantID:Number = 20000020;//商户id } 我在AS里面定义一个全局变量dxMerchantID,然后我新插入一个游戏js文件,在js文件我该怎么引用到这个dxMerchantID? 我在js里面写DataSingleton .dxMerchantID 获...

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

1639. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 51%]

...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha ...

来源: laya_api 发布时间: 20170929

1640. 最小化一定时间后心跳变成一分钟一次了 [ 51%]

...次了 Laya.timer.frameLoop(1, this, this.run, null);   private last:number = 0;      private run() {     let now = Date.now();     console.log("fightmng run >>  " + now, " usetime:"+(now-this.last));     this.last = now; }   代码如上,帧循环把...

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