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

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

691. 绘制直线与折线(TypeScript-LayaAir基础篇(TS)-矢量图) [ 63%]

...e = Laya.Stage;     import WebGL = Laya.WebGL;       export class Sprite_DrawShapes {         private sp: Sprite;           constructor()         {             Laya.init(500, 300, WebGL);             this.drawSomething();     ...

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

692. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 63%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 ​ Label 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ​ ![图片0....

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

693. LayaAirIDE跳转定义问题 [ 63%]

...来就没有可供跳转的定义啊,你俩用同样的代码,同样的class跳转一下定义。 2017-12-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Jacket 相关问题 发起问题须知,必看!!!不按提问规则的...

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

694. 如何在IOS和Android中调用AS 实例的方法 [ 63%]

...iOS中通过调用 [[conchRuntime GetIOSConchRuntime] callMethod:jsObjId className:@"platform.PlatformAPI" methodName:methodName param:strValue], 运行时候报    reflection error : can not find class [platform.PlatformAPI]. 不知道原因。 className试了"PlatformAPI",也不可以   同时...

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

695. 构造函数的__super.call(this)以及调用基方法的laya.ui.Component.prototype.onCompResize.call(this);在2.0是怎么写的 [ 63%]

...有通过一个的名字(字符串)来获取该的方法?似get class by name 问题状态 最新活动: 2019-03-22 17:48 浏览: 810 关注: 1 人

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

696. 绘制直线与折线(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 63%]

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

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

697. laya.media.SoundChannel_API3.0 [ 63%]

...xternals Only exported Menu Globals "laya/media/SoundChannel" SoundChannel Class SoundChannel SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 包含控制声音的播放、暂停、...

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

698. 请问如何使我的自定义UIDropBox继承Laya.Sprite? [ 63%]

...fined console.log(this._super);//undefined this.addChild(this.txt); } Laya.class(UIDropBox, "UIDropBox", Sprite); UIDropBox.prototype = { getTextFeild: function () { var text = new Text(); text.overflow = Text.VISIBLE; text.color = "#FFFFFF"; text.fontSize = 20; return text; } } return UIDropBox; })...

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

699. laya.d3.resource.RenderTexture [ 63%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTextureProperties | Methods Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Resource RenderTarget 用于创建渲染目标。 Public Properties Hide Inher...

来源: laya_api 发布时间: 20170929

700. js调用android的java代码失败。NoSuchMethodException [ 63%]

...ethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os == "Conch-ios")...

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