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

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

2601. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 44%]

..."../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(thi...

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

2602. 微信飞机大战报错 [ 44%]

... this, this.onPauseBtnClick);         this.reset();     }     Laya.class(GameInfo, "GameInfo", _super);     var _proto = GameInfo.prototype;     _proto.reset = function(){         this.infoLabel.text = "";         this.hp(5);         this.level(0);         this.score(0); ...

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

2603. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 44%]

...u Globals "laya/d3/resource/MulSampleRenderTexture" MulSampleRenderTexture Class MulSampleRenderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy RenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructo...

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

2604. Cannot read property 'rayCast' of undefined [ 44%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

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

2605. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 44%]

...m3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 ​ 在示例代码中已经用到了移动(translate),旋转(rotate)这两种变换,并且...

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

2606. laya.ui.Box [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box ...

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

2607. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 44%]

...ya/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem Class ShurikenParticleSystem ShurikenParticleSystem 类用于创建3D粒子数据模板。 Hierarchy GeometryElement ShurikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Prope...

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

2608. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 44%]

... from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody     /** 医疗包*/     private addhp: Laya.Sp...

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

2609. 分享:截屏! [ 44%]

... laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var sp:Sprite ;         public function LayaAirDemo() {             //初始化引擎             Laya.init(Browser.width, Browser.height,WebGL);        ...

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

2610. 如何监听移动端软键盘的弹出和收回? [ 43%]

...xtField; import flash.text.TextFieldType; import flash.ui.Keyboard; public class TextInput extends Sprite { private var textInput:TextField; private var sourceWidth:Number; private var sourceHeight:Number; public function TextInput() { //转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWi...

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