大约有 911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0079 秒)
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recover...
来源: Laya_社区 发布时间: 20190115
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
....ui.Button; import laya.utils.Handler; public class Button_toggle { public function Button_toggle() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoad...
来源: Laya3.0_api 发布时间: 20231115
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 本地调试加载本地图片都报错 小游戏项目 加载有中文的json文件 报错 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plug...
来源: Laya_社区 发布时间: 20190812
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...ya.addAfterInitCallback两个函数都能进断点的,唯独export async function main里设的断点无效啊,可以让断点生效吗? 我突然又想到把main里的Laya.Scene.open('Scene.ls');这句代码删掉看看效果。 结果又发现个bug,应该算吧,就是那启动脚本...
来源: Laya_社区 发布时间: 20250318
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); function onBtnClick() { alert('222'); } btn1 is not defined 按教程写脚本,实在找不到地方写,请问有没有类似教程呢。 问题3)我在Scenes 新建了2个view,一个是v1一个是v2。其中v1里面...
来源: Laya_社区 发布时间: 20181027