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

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

91. 关于Native资源更新问题 [ 49%]

...叠 要回复问题请先登录 发起人 reven1983 相关问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 分享:LayaAir下如何获取图集下的小图资源? 模型资源释放问题 Laya.l...

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

92. 基础使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...述 在新UI系统中,所有组件的基类是GWidget,它从引擎的Sprite类派生,因此Sprite具有的属性和方法都可以使用,也就是说,它具有普通2D节点的所有功能。 新UI系统内置的组件类型有以下这些,按功能分类: 图片显示:GImage、GLoad...

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

93. laya.ui.VBox [ 48%]

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

来源: laya_api 发布时间: 20170929

94. 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

95. 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

96. 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

97. 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

98. 分享个用美术资源做位图文本的方法。。。 [ 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

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

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

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

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

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

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