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

大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)

91. Laya 绑定显示内容到骨骼动画 [ 86%]

...  export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; }  /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ this.__bindList.push(...

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

92. 为啥 增加 Text ,drawcall 暴增 ?????????????? [ 86%]

...?   fish.scoreItem = new Laya.Image(); fish.scoreItem.skin = "assets/ui_imgs/img_10103.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox()...

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

93. 图集里的图片 有时候能显示 有时候不能显示 [ 86%]

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 c__yh 赞同来自: 自定义布局好的界面   addChind后   有时能显示  是时候不能显示   版本是1.7.18   自定义布局   addChind后 有时候正常 有时候就很奇怪了   X不见了     ...

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

94. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 86%]

...Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         this.upVector3 = new Laya.Vector3(0, 1, 0);         //预加载所有资源         let resource = ["Export/LayaScene_JJF/C...

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

95. 物理引擎-牛顿摆 [ 86%]

... Laya.init(stageWidth, stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, onResize); } functi...

来源: Laya_示例 发布时间: 20240930

96. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 86%]

...torInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_n.png" editorInfo="compId=2"> <Image y="3" x="8" skin="setting/log21_n.png" editorInfo="compId=3"/&gt...

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

97. laya.physics.CircleCollider_API3.0 [ 86%]

...rchy ColliderBase CircleCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor radius restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded...

来源: Laya3.0_api 发布时间: 20231115

98. laya.utils.HitArea_API3.0 [ 86%]

...形,多边形) Hierarchy HitArea Implements IHitArea Index Properties _hit _unHit Accessors hit unHit Methods contains onAfterDeserialize Properties _hit _hit: Graphics Defined in laya/utils/HitArea.ts:17 _unHit _unHit: Graphics Defined in laya/utils/HitArea.ts:18 Accessors hit get hit(): Graphi...

来源: Laya3.0_api 发布时间: 20231115

99. 其他引擎的Demo-Example_23 [ 86%]

...ya.init(viewWidth, viewHeight, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; // create a background texture Laya.stage.loadImage("../../res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, animate); })(); function animate() { if (tick > freque...

来源: Laya_示例 发布时间: 20240930

100. ???????? 为啥加一个 Text,drawcall 暴增? [ 86%]

...增? fish.scoreItem = new Laya.Image(); fish.scoreItem.skin = "assets/ui_imgs/icon_00313.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox(...

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