• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 374 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)

361. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 36%]

...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

362. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

... 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

363. 打包成Android的apk之后,在某些机型一后台就有很大几率发现卡死Anr的情况,有anr日志 [ 36%]

...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

364. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 36%]

...置          LayaAir Export     导出资源          LayaAir Run         直接运行该场景  ---------------------------------------------------------------------------------------------------------------------------------------                   Animator 动画支持...

来源: Laya_社区 发布时间: 20170428

365. 本地双击html如何打开laya项目? [ 33%]

...请求。下面是服务器的源码: 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

366. rigidBody.applyForce 物体不会移动 [ 32%]

....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

367. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 31%]

...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

368. LayaAir开发笔记(1)五十音图连连看 [ 30%]

...戏,求思路 LayaAir 3D 有提供 3D 物理引擎功能吗? LayaAir Run 或者代码 显示的模型只有绿色 问题状态 最新活动: 2017-01-18 22:59 浏览: 6855 关注: 5 人 websun • 2017-01-18 23:09 你好,请问你在练习中有发现什么问题吗?我根据这个代码敲下来...

来源: Laya_社区 发布时间: 20160623

369. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 24%]

...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

370. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 23%]

...法正常使用。 当然,如果没有安装Node环境就直接预览(Run),插件工具也会提示下载安装Node环境,安装后需要重启Unity才会重生效,如果遇到重启Unity仍未生效的情况,建议重启电脑。 #### 3.3、导出工具操作面板 之前的小节有...

来源: Laya2.0_文档 发布时间: 20210714