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

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

401. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 43%]

...endChild(mapDiv);       // 适应窗口尺寸 refit(); Laya.stage.on(Event.RESIZE, this, refit);   // 初始化地图 map = new BMap.Map(mapDiv);   // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom(); map.dis...

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

402. 弹窗视图组件 · LayaAir3.0文档 · LAYABOX [ 43%]

...Script extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用代码将Dialog与所需要用到该Dialog的场景管关联起来。回到初始场景Scene,在Scene2D的属性设置...

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

403. 请大家帮助优化一下这个抛物线的代码 [ 42%]

...a.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stage.on(Laya.Event.CLICK,this,this.onClick); Laya.timer.frameLoop(1,this,this.onEnterFrame); } private onEnterFrame():void{ if(this.points.length>0){ if(this.i<this.points.length){ this.ball.x = this.points[this.i].x; this.ball.y = ...

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

404. laya.ui.Radio [ 42%]

... All Classes | Index | Frames No Frames RadioProperties | Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio ...

来源: laya_api 发布时间: 20170929

405. laya.ui.Image [ 41%]

... All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的...

来源: laya_api 发布时间: 20170929

406. laya.ui.Radio [ 41%]

... All Classes | Index | Frames No Frames RadioProperties | Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio...

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

407. laya.ui.Image [ 40%]

... All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一...

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

408. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 40%]

...Pivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0, 0, 0); Laya....

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

409. laya.ui.UIGroup [ 40%]

...All Classes | Index | Frames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box Component Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默...

来源: laya_api 发布时间: 20170929

410. laya.ui.UIGroup [ 39%]

...All Classes | Index | Frames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的...

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