大约有 374 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
...aram caller 执行域(this)。 * @param method 定时器回调函数。 */ runCallLater(caller: any, method: Function): void; } class TimerHandler { key: number; repeat: boolean; delay: number; userFrame: boolean; exeTime: number; caller: any; method: Function; args: Array<any>; clear(): void;...
来源: Laya_社区 发布时间: 20171109
... coverBefore); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { //60帧后,图片的透明度变为0.5 Laya.timer.frameOnce(60, this, () => { thi...
来源: Laya3.0_文档 发布时间: 20251010
...0us Max: 1613us DALVIK THREADS (140): "Signal Catcher" daemon prio=5 tid=2 Runnable | group="system" sCount=0 dsCount=0 obj=0x32c070a0 self=0xaebd7000 | sysTid=16095 nice=0 cgrp=default sched=0/0 handle=0xb420b930 | state=R schedstat=( 55770310 3145521 28 ) utm=0 stm=5 core=0 HZ=100 | st...
来源: Laya_社区 发布时间: 20190612
...置 LayaAir Export 导出资源 LayaAir Run 直接运行该场景 --------------------------------------------------------------------------------------------------------------------------------------- Animator 动画支持...
来源: Laya_社区 发布时间: 20170428
...请求。下面是服务器的源码: public class HttpServer implements Runnable { static HttpServer httpServer; private static final String TAG = "HttpServer"; /** * 服务器端的socket */ ServerSocket server; /** * 服务器监听的端口号 */ public static final int PORT = 8080; // public ...
来源: Laya_社区 发布时间: 20160104
....log(building); console.log("-----"); console.log(moveArea); } private playRun(): void { this.animator.play("Running"); this.animator.speed = 1.0; } private playIdle(): void { this.animator.play("Idle"); this.animator.speed = 1.0; } private playWalk(): void { this.animator.play("Walk"); this.animato...
来源: Laya_社区 发布时间: 20200917
...r state: AnimatorState = new AnimatorState(); //动作名称 state.name = "run"; //动作播放起始时间 state.clipStart = 40 / 150; //动作播放结束时间 state.clipEnd = 70 / 150; //设置动作 state.clip = animator.getDefaultState().clip; //为动画组件添加一个动作状态 animator...
来源: Laya3.0_文档 发布时间: 20230303
...戏,求思路 LayaAir 3D 有提供 3D 物理引擎功能吗? LayaAir Run 或者代码 显示的模型只有绿色 问题状态 最新活动: 2017-01-18 22:59 浏览: 6855 关注: 5 人 websun • 2017-01-18 23:09 你好,请问你在练习中有发现什么问题吗?我根据这个代码敲下来...
来源: Laya_社区 发布时间: 20160623
...press: false, }), ], }; const watcher = rollup.watch(config); console.log(`Running 'rollup watcher'...`); let tS; watcher.on('event', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — ...
来源: Laya_社区 发布时间: 20201223
...法正常使用。 当然,如果没有安装Node环境就直接预览(Run),插件工具也会提示下载安装Node环境,安装后需要重启Unity才会重生效,如果遇到重启Unity仍未生效的情况,建议重启电脑。 #### 3.3、导出工具操作面板 之前的小节有...
来源: Laya2.0_文档 发布时间: 20210714