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

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

1241. UI-List [ 61%]

... // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i = []; for (var...

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

1242. laya.d3.component.Animator [ 61%]

...过播放名字移除动画片段。 Animator  stop(immediate:Boolean = true):void 停止播放当前动画 Animator  unLinkSprite3DToAvatarNode(sprite3D:Sprite3D):Boolean 解除精灵节点到Avatar节点的关联,此Animator必须有Avatar文件。 AnimatorEvents Hide Inherited Events Show Inh...

来源: laya_api 发布时间: 20170929

1243. 构建好android studio项目后,debug出错 [ 61%]

...alone.version/libs/laya.ui.js I/ViewRootImpl: CPU Rendering VSync enable = true I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (le...

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

1244. 2.3.0beta 各种bug [ 61%]

...也能通过,修改 typescript({                 check: true, //Set to false to avoid doing any diagnostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }),如果有  async(){ await xxxx }会报...

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

1245. list item 添加事件后无法监听 [ 61%]

...ist.mouseHandler = new Handler(this, onSelect)     list.selectEnable = true;     list.selectHandler = new Handler(this, onSelect);      list.renderHandler = new Handler(this, updateItem);     return list; }  function updateItem(cell, index) {     console.log(index);     // ...

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

1246. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 60%]

...this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture;...

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

1247. laya.ani.bone.BoneSlot_API3.0 [ 60%]

...的矩阵对象 _tempResultMatrix,只有实时计算的时候才设置为true Default value alpha: number = 1 Returns void drawBonePoint drawBonePoint(graphics: Graphics): void Defined in laya/ani/bone/BoneSlot.ts:442 画骨骼的起始点,方便调试 Parameters graphics: Graphics Returns void ...

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

1248. LAYABOX游戏实时语音之APP版本 [ 60%]

...mission.ACCESS_COARSE_LOCATION" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="stateHidden|adjustPan" android:con...

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

1249. laya.device.Shake_API3.0 [ 60%]

...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...

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

1250. laya.components.AnimationClip2D_API3.0 [ 60%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...

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