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

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

2441. ios版layanativ引用了uiwebview的方法,导致了ITMS-90809: Deprecated API Usage警告 [ 47%]

...API Usage警告 nm libconch.a | grep UIW                  U _OBJC_CLASS_$_UIWebView 0000000000002620 s l_OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate 0000000000002688 s l_OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate 0000000000002608 s l_OBJC_$_PROTOCOL_REFS_UIWebViewDelegate 000...

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

2442. 1.7版本要初始化后有些代码才能用了 [ 47%]

...= new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03...

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

2443. laya.net.Loader_API3.0 [ 47%]

...ll Inherited Externals Only exported Menu Globals "laya/net/Loader" Loader Class Loader Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ATLAS BUFFER FO...

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

2444. laya.net.LoaderManager [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动...

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

2445. UI-Input [ 47%]

...a.ui.TextInput; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Input { private const SPACING:int = 100; private const INPUT_WIDTH:int = 300; private const INPUT_HEIGHT:int = 50; private const Y_OFFSET:int = 50; private var skins:Array; public function UI_Input() { // 不支持We...

来源: Laya_示例 发布时间: 20260303

2446. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 47%]

...动图8) 3、代码创建Dialog组件 代码运行结果: const { regClass, property } = Laya; @regClass() export class UI_Dialog extends Laya.Script { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number...

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

2447. sound manager在MOUSE_OVER事件中无法播放 [ 47%]

... = Laya.Handler;     import WebGL = Laya.WebGL;      export class Sound_SimpleDemo {         //声明一个信息文本         private txtInfo: Text;          constructor() {             // 不支持WebGL时自动切换至Canvas       ...

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

2448. 可以帮我测试一下吗? 使用mask的场景,放着就会出现记忆体用完的讯息? [ 47%]

...一直旋转。有将mask拿掉测试,发现就不会有类似问题。class GameLayer extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.inf...

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

2449. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 47%]

...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.light.LightSprite)。 除此之外,还要需要在模型上设置投影属性。 **receiveShadow:**是否接受阴影,当模型此属性为true时,计算出的阴影会在此模型上显示出来。...

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

2450. laya.ui.AsynDialog [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AsynDialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者pop...

来源: laya_api 发布时间: 20170929