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

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

481. IOS的safari浏览器打开h5项目demo,游戏场景偏移(附件有完整demo) [ 55%]

...laya.display.Stage; import laya.display.Text; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#235615"; //设置适配模式 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

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

482. 动画混合问题,Avatar动画混合报错. [ 55%]

... biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 }  export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5;  public sprite:Laya.Sprite3D = null;  public animator:Laya.Animator = null;  public Init(){ this.sprite = this.owner as Laya.Sprite3D...

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

483. Particle2D无法直接拖拽到场景中使用,望解决 [ 55%]

...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。   简单说就是particle2D编辑好不能直接拖到别的场景使用  附件 ...

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

484. laya.ui.HSlider [ 55%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HSliderProperties | Methods | Events Packagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之...

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

485. 加载图片显示为黑屏(附代码),为什么? [ 55%]

...display.Sprite; import laya.ui.Panel; import laya.utils.Handler; public class LayaSample { private var rule_ct; public function LayaSample() { Laya.init(640, 1136, WebGL); Laya.stage.bgColor = "#CCBBAA"; var panel = new Panel(); Laya.stage.addChild(panel); panel.size(460, 704); ru...

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

486. laya.ui.Dialog_API3.0 [ 55%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性...

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

487. F5, 运行后提示找不到 Laya[ 55%]

...ol = function () { EF_DataProtocol.prototype.init = function (){ }; } Laya.class(EF_DataProtocol, "EF_DataProtocol", null);  按F5, 运行后提示找不到 Laya类, 这是什么问题? 求指导.   附件 : --> 2020-10-01 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果...

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

488. laya.ui.VBox [ 55%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hi...

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

489. laya.ui.TipManager [ 55%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properti...

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

490. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 55%]

...理引擎文档都是IDE篇的。   我试着用代码实现物理效果class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_clos...

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