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

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

1021. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 65%]

...2628"; this.setup(); } private setup(): void { this.createLabel("#FFFFFF", null).pos(30, 50); this.createLabel("#00FFFF", null).pos(290, 50); this.createLabel("#FFFF00", "#FFFFFF").pos(30, 100); this.createLabel("#000000", "#FFFFFF").pos(290, 100); this.createLabel("#FFFFFF", "#00FFFF").pos(30, 150)...

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

1022. LAYABOX游戏实时语音之APP版本 [ 65%]

...456"; private static String mChatRoomId = ""; private String mMsgContent = null; private String mStoragePath = null; private boolean mAudioDownloaded = false; private long mRecvAudioMsgId = 0; private String mRecvAudioPath = null; private String mSendAudioPath = null; private long mPTTStartTime = 0;...

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

1023. laya.d3.core.scene.Scene3D_API3.0 [ 65%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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

1024. LayaNative 2.8.0 加载的TTF字体不生效,附复现工程。 [ 65%]

...       Laya.Text.defaultFont = "OPPOSANS-H";         }), null, Laya.Loader.TTF) 附件 : --> laya复现工程_2.6_.0和2_.8_.0_.zip 相关链接 : https://pan.baidu.com/s/1Ra8dz4pFqWeihGcdLgA5Yw   2020-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

1025. iOS平台,WiFi连网正常,4G下经常失败 [ 65%]

...0 CJPK_iOS[8382:4736822] assetsid old:c1db7e73ac5bc035fa2972c7d90d092e new:null 2018-01-11 10:18:57.961246+0800 CJPK_iOS[8382:4736822] onLayaInitError error=Update DCC get assetsid error 看到对应代码段是: function updateDcc() { return __awaiter(this, void 0, void 0, function* () { cache.se...

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

1026. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 65%]

...n() { function Air(type, hp) { this.hp = hp; this.type = type; this.body = null; Air.__super.call(this); this.init(); } Laya.class(Air,"Air", laya.display.Sprite); var _proto = Air.prototype; _proto.init = function() { if(this.body == null) { this.body = new laya.display.Animation(); this.addChild(t...

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

1027. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 65%]

...em.ts:220 是否预热。暂不支持 randomSeed randomSeed: Uint32Array = null Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:308 随机种子,注:play()前设置有效。 randomizeRotationDirection randomizeRotationDirection: number = 0 Defined in laya/d3/core/particleShuriKen/...

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

1028. js继承模式 [ 65%]

...[p] = b[p]); } function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var BackGround = (function() { __extends(Class, Laya.Sprite); function Class() { Laya.Sprite.call(this); this.img = []; this.init(); } Class.prototype.init ...

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

1029. 物理引擎,刚体施加力效果错误,有人帮忙看下吗 [ 65%]

...灵 Sprite3D.load("LayaScene_cu_demo/Conventional/Cu.lh", Handler.create(null, function(sp:Sprite3D):void { cu = scene.addChild(sp) as Sprite3D; cu.transform.rotate(new Vector3(0, -90, 0), true, false); _rb = cu.getComponent(Rigidbody3D) as Rigidbody3D; }));   //施加作用力或冲量 btn_a.on(E...

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

1030. laya.ui.CheckBox_API3.0 [ 65%]

...个新的 CheckBox 组件实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 文本标签的内容。 Returns CheckBox Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/d...

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