大约有 1,125 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0064 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...入前台,这个有事件或者回调吗? 看了安卓的,LayaConch5.class file:///C:\Users\Administrator.DESKTOP-AM0RTMG\AppData\Roaming\Tencent\Users\315617576\QQ\WinTemp\RichOle\`I{H_$7(]}RY}87O[N@@{VW.png 在js、as代码里如何侦听到? 2017-06-21 0 0 分享 微博 QZONE 微信 Monic...
来源: Laya_社区 发布时间: 20161227
...述](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.net.LoaderManager) 。 ```typescript ...... //批量预加载方式 public function PreloadingRes() { //预加载所有资源 var resource:Array = ["res/threeDimen/scene/TerrainScene/XunLongShi.ls", "res/threeDimen...
来源: Laya2.0_文档 发布时间: 20210715
...:48 浏览: 1266 关注: 5 人 大大大懒猫 • 2018-09-10 10:39 export class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat =...
来源: Laya_社区 发布时间: 20180814
...Inherited Externals Only exported Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的...
来源: Laya3.0_api 发布时间: 20231115
... package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFl...
来源: Laya_社区 发布时间: 20151218
API DocumentationAll Packages | All Classes | Index | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar...
来源: Laya2.0_api 发布时间: 20190513
...i; /** * ... * @author zzz */ public class WWJ_Main { private const stageWidth:int = 540; private const stageHeight:int = 960; private var Matter:Object = Browser.window.Matter; priv...
来源: Laya_社区 发布时间: 20170822
...上Unity专案模型及错误截图。 Laya程式码:// 程序入口 class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(1920, 1080, true); // //开启统计信息 // Laya.Stat.show(); //适配模式 //Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; //Laya.stage.scaleMode = Laya.Stage...
来源: Laya_社区 发布时间: 20180131
...All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码...
来源: Laya3.0_api 发布时间: 20231115
...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