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

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

231. 求助:laya的枚举属性如何在面板上序列化? [ 65%]

... /** @prop {name:rewardType, tips:"111", type:Reward, default:Reward.Gr}*/ public rewardType: Reward = Reward.Gr;   自定义的枚举不可选,布尔类型变量则有true和false可以选择: 附件 : --> 2019-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

232. laya.ui.HBox [ 65%]

...rames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

233. laya.ui.VBox [ 64%]

...rames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

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

234. laya.ui.HBox [ 64%]

...rames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

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

235. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 64%]

...mport laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, Web...

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

236. laya.ui.View [ 64%]

... Frames No Frames ViewProperties | Methods | Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...

来源: laya_api 发布时间: 20170929

237. Animation创建和销毁的问题 [ 64%]

...:as3 private var testAnim1:Animation; private var testAnim2:Animation; public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyC...

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

238. 怎么改变弹出的dialog在屏幕中的位置,不让他默认居中 [ 64%]

...请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: public var popupCenter:Boolean = true; false 就根据坐标显示,默认为true 2018-07-16 0 2 分享 微博 QZONE 微信 cheng 赞同来自: dialog 里面有个属性 popupCenter,设置为false,然后设置坐标 2018-07-1...

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

239. 微信小游戏开发数据域在舒适化时会报错 [ 64%]

...ex.js:6944)     at Object.Laya.init (index.js:365)     at new Football_public (   2018-05-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 185*****307 赞同来自: 问题找到了,开放域这边,是把...

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

240. 绘制曲线(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 64%]

...laya.display.Stage;     import laya.webgl.WebGL;            public class Sprite_DrawShapes     {         private var sp:Sprite;                    public function Sprite_DrawShapes()         {             Laya.init(500, 300, We...

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