大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0064 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(54) Laya_示例(32) Laya2.0_示例(27)
...,如果是独立小模块,功能单一,建议用脚本方 */ public class GameUI extends TestSceneUI { public function GameUI():void { super(); //加载场景 Scene3D.load('LayaScene_test/Conventional/test.ls',Handler.create(this,onComplete)) } /** * 加载完成 */ private function onComplete...
来源: Laya2.0_文档 发布时间: 20210715
...t laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; private var ...
来源: Laya_社区 发布时间: 20171129
... null) 改成 if (FrameAnimation._sortIndexFun == null) 代码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun == null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } } 2019-11-19 0 2 分享 微...
来源: Laya_社区 发布时间: 20191109
API DocumentationAll Packages | All Classes | Index | Frames No Frames RadioGroupProperties | Methods | Events Packagelaya.uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box UIComponent Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控...
来源: Laya2.0_api 发布时间: 20190513
...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...
来源: Laya_社区 发布时间: 20200110
...com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Component&class=laya.components.Script ### 三、Runtime与脚本的使用区别 LayaAir的组件化开发,核心就是Runtime类与Script(脚本组件)类的合理运用,生命周期方法的使用。 有不少开发者对IDE...
来源: Laya2.0_文档 发布时间: 20210715
...stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); } } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190711
... this, this.onPauseBtnClick); this.reset(); } Laya.class(GameInfo, "GameInfo", _super); var _proto = GameInfo.prototype; _proto.reset = function(){ this.infoLabel.text = ""; this.hp(5); this.level(0); this.score(0); ...
来源: Laya_社区 发布时间: 20170416
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
API DocumentationAll Packages | All Classes | Index | Frames No Frames VScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以...
来源: Laya2.0_api 发布时间: 20190513