大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...port laya.utils.Handler; import laya.utils.Tween; import laya.webgl.WebGL; public class Interaction_Hold { private const HOLD_TRIGGER_TIME:int = 1000; private const apePath:String = "../../../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private var ape:Sprite; private var isApeHold:Bool...
来源: Laya_示例 发布时间: 20260106
...现复制到粘贴板 /** * 复制到粘贴板 * @param value * */ public static function copyToClipBoard(value:String):void{ var input:Object; input = Browser.createElement("input"); input.setAttribute('readonly', 'readonly'); input.setAttribute("value",value); Browser.document.body.ap...
来源: Laya_社区 发布时间: 20191216
...odule mult { export class MainRunner extends Runner { public nickName; } } 这样编译的时候会报错,提示"Runner is not defined"。 网上翻了一些资料,都没提到这种模块内的类继承全局类的用法,望大神指点。 2017-02-03 添加评论 免费...
来源: Laya_社区 发布时间: 20170203
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constr...
来源: Laya3.0_api 发布时间: 20231115
...内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: liwenhua public function GameUI():void { super(); GameUI.instance = this; } 设置单例之后,runtime脚本里面就 指定一下,就ok...
来源: Laya_社区 发布时间: 20190116
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/gltf/glTFUtils" glTFUtils Class glTFUtils glTFUtils 用于解析 glTF 2.0 对象 Hierarchy glTFUtils Index Properties Extensions Extras Methods ...
来源: Laya3.0_api 发布时间: 20231102
...pleRole(); Laya.stage.addChild(role); } SimpleRole类: public function SimpleRole() { roleAni = new Animation(); roleAni.loadAnimation("GameAni.ani"); } Not found: GameAni.ani# 求帮忙看下原因 2017-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170619
...laya.events.Keyboard; import laya.utils.TimeLine; import laya.webgl.WebGL; public class Tween_TimeLine { private var target:Sprite; private var timeLine:TimeLine = new TimeLine(); public function Tween_TimeLine() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alig...
来源: Laya_示例 发布时间: 20260106
为啥我在批量removeself 会报错卡死 override public function removeSelf():Node { this.scaleX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; ...
来源: Laya_社区 发布时间: 20171129
...es No Frames RadioGroupProperties | Methods | Events Packagelaya.uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控...
来源: laya_api 发布时间: 20170929