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

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

311. Button和下面的3D物体重叠,点击button,3D物体会同时响应自己的鼠标脚本 [ 79%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 From Nowhere 赞同来自: 自己解决吧let isClick; //前提:把所有可能与3D物体重叠的UI元素的 mouseEnable 设置为 true ,接收鼠标点击 onAwake() { this.isClick = false; //对舞台stage添加点击...

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

312. 这个 `--allow-file-access-frome-files` 参数是什么?这个 frome 是什么鬼? [ 78%]

这个 `--allow-file-access-frome-files` 参数是什么?这个 frome 是什么鬼? 最新的 layaAir 1.7.12beta 创建新项目时候出现的。"runtimeArgs": [ "--allow-file-access-from-files", "--allow-file-access-frome-files", " --disable-web-security" ],注意,是 --allow-file-access-fr...

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

313. laya.utils.TimeLine [ 78%]

...ent(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine  from(target:*, props:Object, duration:Number, ease:Function = null, offse...

来源: Laya2.0_api 发布时间: 20190513

314. Laya3.0.2IDE中,设置tsconfig.json中的paths配置无效 [ 78%]

...接 提交 1 个回复 Laya_phhh 赞同来自: Main.ts: import observe  from "@observe";   tsconfig: "@observe": ["utils/observe"], 2023-08-07 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ystrdy 相关问题...

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

315. laya.d3.core.QuaternionKeyframe_API3.0 [ 78%]

...aya/d3/core/QuaternionKeyframe.ts:18 外权重 time time: number Inherited from Keyframe.time Defined in laya/d3/core/Keyframe.ts:19 时间。 value value: Quaternion = new Quaternion() Defined in laya/d3/core/QuaternionKeyframe.ts:14 帧数据 weightedMode weightedMode: Vector4 Defined in laya/d3/c...

来源: Laya3.0_api 发布时间: 20231115

316. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 77%]

...update大问题!!!!!!!!! 2.13版本 import { TableMgr } from "../common/table/TableMgr"; import { BaseWin } from "../common/windows/BaseWin"; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UI...

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

317. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 77%]

...a.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _mov...

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

318. laya.d3.core.Transform3D_API3.0 [ 77%]

...s boolean Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3...

来源: Laya3.0_api 发布时间: 20231115

319. Typescript tsconfig baseurl 编译报错 [ 76%]

Typescript tsconfig baseurl 编译报错 想用import a from "core/view/ViewBase" 代替 from "../../../core/view/ViewBase" 再tsconfig.json 配置了baseurl = "./src" 但是编译会报错: Error: Cannot find module 'core/view/ViewBase' from 'E:\developer\project\svn_wjbj\endLess\src' at E:\devel...

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

320. laya.d3.physicscannon.CannonPhysicsSimulation_API3.0 [ 76%]

...ions Methods clearForces dispatchCollideEvent rayCast rayCastAll raycastAllFromTo raycastFromTo createConstraint Properties fixedTimeStep fixedTimeStep: number = 1.0 / 60.0 Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:111 物理模拟器帧的间隔时间:通过减少fixedTimeStep可...

来源: Laya3.0_api 发布时间: 20231102