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

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

91. laya.ui.HBox [ 48%]

...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

92. laya.ui.VBox [ 48%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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

93. laya.ui.HBox [ 48%]

...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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

94. laya.display.Stage_API3.0 [ 47%]

...用帧率甚至动态更改帧率有利于改进手机耗电。 Hierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdap...

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

95. 分享个用美术资源做位图文本的方法。。。 [ 47%]

...效果基本上还行, /* * 位图字体; */ class BPFont extends Laya.Sprite{ // 文本内容 private _text: string; // json数据 private _jsonData: any; // 图片数据 private _imageData: Laya.Texture; // 文本字间距 private _padding: number = 0; // 所有元素; private charSprites: Lay...

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

96. ios下打开游戏,通过输入框调出输入法,页面会自动平移,但关闭输入法后页面未完全平移回原来的位置 [ 47%]

...复被折叠 要回复问题请先登录 发起人 reven1983 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 写个捕鱼游戏练练手 Dialog:屏蔽点击Dialog之外的区...

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

97. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...1.4 脚本控制Text2. 代码创建Text基础文本(Text) Text继承于Sprite,是静态文本的基础组件。这里我们介绍一下Text专属的组件属性。 1. LayaAir IDE中使用Text 1.1 创建Text 如图1-1所示,可以在层级窗口中右键进行创建,也可以从小部件窗...

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

98. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...

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

99. emoji表情文字乱码 [ 45%]

...           if (this.href){                 var tSprite=new Sprite();                 this.addChild(tSprite);                 tHTMLChar.setSprite(tSprite);             }         }         return words;     }  ...

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

100. laya.ui.AsynDialog [ 45%]

...lasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打...

来源: laya_api 发布时间: 20170929