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

大约有 773 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)

421. 2.0里Texture方法有改变吗? [ 59%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 如何检测Animation动画播放完毕后去执行方法? 问题状态 最新活动: 2018-10-29 15:04 浏览:...

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

422. 导入FBX报错 [ 59%]

...ertex count: 347 [2023-06-20 18:19:19.050] [resource_tool] [info] Material class: FbxSurfacePhong [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransColor valid. [2023-06-20 18:19:19.050] [resource_tool] [info] aToon_Palette_Outline lTransFactor valid. [2023-06-20 18:19:19....

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

423. laya2.0 runtime问题 [ 59%]

laya2.0 runtime问题 按照2.0官方文档来的,报can not find class xxx 项目已上传,请帮忙看看 附件 : --> 测试1_runtime.rar 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同...

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

424. Uncaught TypeError: Cannot read property '$_TID' of undefined [ 59%]

...annot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined Uncaught unknown animationClip version. 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read pro...

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

425. Camera摄像机有裁剪功能么? [ 59%]

... qian 赞同来自: https://layaair.ldc.layabox.com/api/?category=Core&class=laya.d3.core.Layer   2018-03-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自: 可能跟我的需求不太一样。  比如我有两个摄像机,A,B A 看整个场景 B 只看建筑 这个要怎么实现,...

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

426. JS里面定义一个函数,无法使用Laya.Handler.creat回调 [ 59%]

...候提示onTxtLoad is undfine.请教应该怎么定义? export default class LocalTxt{ constructor() { LocalTxt.Instance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加...

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

427. 关于event中只读属性touches,问题,求解 [ 58%]

...ya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200;...

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

428. layaair 2.0 在构造函数中获取基类的组件,报错说未定义。 [ 58%]

...造函数中获取基类的组件,报错说未定义。 export default class GameLoading extends ui.gamoloadingUI{ constructor(){ super(); this.PB.changeHandler = new Laya.Handler(this,this.onChange); } } 基类中明确有PB变量,是进度条。此处构造函数中设置事件报错,说PB...

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

429. Uncaught TypeError: Game.super is not a function [ 58%]

...n var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...

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

430. 编辑模式下的赋值不保留? [ 58%]

...头像者 • 2018-10-25 14:56 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖为预制...

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