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

大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0089 秒)

1131. laya.display.Text_API3.0 [ 32%]

...模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 this.onInit(); } private onInit(): void { var text: laya.display.Text = new laya.display.Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设...

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

1132. LayaAirNative初始化的4个问题 [ 31%]

...进行优化呢 __JS__("window.eval(str)") var game:* = __JS__("new Game(this.enviroment)");   4.在游戏初始化的时候,一定会报这两个异常,请问是为啥   06-27 18:03:47.976 27945-27945/com.twand.kozhanji I/art: Rejecting re-init on previously-failed class java.lang.Class<co...

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

1133. laya.ui.CheckBox_API3.0 [ 31%]

...背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var checkBox:CheckBox = new CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个...

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

1134. 安装layaair2-cmd一直失败 [ 31%]

...pm ERR! npm ERR! Failed at the gifsicle@4.0.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T...

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

1135. laya.ui.Button_API3.0 [ 31%]

...背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 butto...

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

1136. laya.display.Input_API3.0 [ 27%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

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

1137. laya.display.Sprite [ 25%]

...lean (default = false) — (可选)是否极速模式,正常是调用this.x=value进行赋值,极速模式直接调用内部函数处理,如果未重写x,y属性,建议设置为急速模式性能更高。 ReturnsSprite — 返回对象本身。 reCache()method  public function reCache()...

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

1138. laya.display.Sprite [ 25%]

...lean (default = false) — (可选)是否极速模式,正常是调用this.x=value进行赋值,极速模式直接调用内部函数处理,如果未重写x,y属性,建议设置为急速模式性能更高。 ReturnsSprite — 返回对象本身。 reCache()method  public function reCache()...

来源: laya_api 发布时间: 20170929

1139. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 24%]

...试Unity导出Anim后用Laya运行时_handleSpriteOwnersByClip函数中抛this._clips[clipIndex]._nodes为null的访问异常,Unity版本为2017.2.0f3,Laya引擎版本为1.7.13,请大神帮忙看看是怎么回事 TestAnim.rar 2018-01-03 3 4 分享 微博 QZONE 微信 cuixueying 赞同来自: ...

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

1140. laya.ui.TextArea_API3.0 [ 22%]

...背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea.skin =...

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