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

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

391. 微信开放数据域(TypeScript-小游戏适配文档-微信小游戏) [ 71%]

...e方法,注意与原版有部分修改。 ```typescript onComplete() { //获取资源 var testJosn = Laya.loader.getRes("json/reward.json"); //输出透传过来json console.log('透传json信息:', testJosn); //加载IDE指定场景 var big = new BigRank(); big.init(); } ``` 微信环...

来源: Laya2.0_文档 发布时间: 20210715

392. 一篇上手LayaAir3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 71%]

...hape:Laya.BoxColliderShape = new Laya.BoxColliderShape(0.5, 0.4, 0.045); //获取本地偏移 var localOffset:Laya.Vector3 = boxShape.localOffset; //修改偏移 localOffset.setValue(0, 0, 0.125); boxShape.localOffset = localOffset; //为复合碰撞形状对象添加子形状(刚刚创建盒...

来源: Laya2.0_文档 发布时间: 20210715

393. laya.effect.EffectBase_API3.0 [ 71%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

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

394. laya.ui.View_API3.0 [ 71%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

395. 微信小游戏开放域(ActionScript-小游戏适配文档-微信小游戏) [ 71%]

...有部分修改。 ```typescript private function onComplete():void() { //获取资源 var testJosn:* = Laya.loader.getRes("json/reward.json"); //输出透传过来json console.log('透传json信息:', testJosn); //加载IDE指定场景 var big:BigRank = new BigRank(); big.init(); } ``` ...

来源: Laya2.0_文档 发布时间: 20210715

396. laya.ui.ColorPicker_API3.0 [ 71%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/ColorPicker.ts:99 当颜色发生改变时...

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

397. laya.ui.VBox_API3.0 [ 71%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

398. laya.physics.joint.MouseJoint_API3.0 [ 71%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

399. laya.ui.HBox_API3.0 [ 71%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

400. LayaFlash为何不自动添加typeAS()方法 [ 71%]

...json文件。。竟然无法自动生成了? 请问有没有方法能够获取“鼠标是否处于按下状态”? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加元素始终保持在最底部显示? 文本如何自动换行 3d项目-unity添加...

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