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

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

31. 在不开微信调试的情况下无法显示图集和用户头像信息 [ 54%]

...和1.7.*都没问题 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 问题状态 最新活动: 2018-09-13 10:05 浏览: 3652 关注: 6 人 Freeman904 • 2018-11-13 17:57 好友头像的话,是配置在微信后台的downloadFile合法域名,而不是request合法域名。并...

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

32. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 50%]

LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 .script和.prop脚本结合IDE在代码层的使用方式 2016-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: SONIC3D...

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

33. vivo小游戏 · LayaAir3.0文档 · LAYABOX [ 48%]

...例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕...

来源: Laya3.0_文档 发布时间: 20240926

34. 时间轴动画编辑详解 · LayaAir3.0文档 · LAYABOX [ 46%]

...码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来...

来源: Laya3.0_文档 发布时间: 20230519

35. 使用3DUI · LayaAir3.0文档 · LAYABOX [ 45%]

... { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { /** 设置单例 */ static instance: Main; constructor() { super(); Main.instance = this; } @property({ type: Laya.Sprite3D }) private target: Laya.Sprite3D; public animator: Laya.Animator; onAwake(): void { //获得...

来源: Laya3.0_文档 发布时间: 20231129

36. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 40%]

...精灵添加组件(脚本)         monkey.addComponent(MonkeyScript);         scene.addChild(monkey);         //设置相机的观察目标为小猴子         camera.transform.lookAt(monkey.transform.position, new Laya.Vector3(0, 1, 0));              ...

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

37. 通用发布 · LayaAir3.0文档 · LAYABOX [ 37%]

...下代码: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕...

来源: Laya3.0_文档 发布时间: 20240926

38. 网络通信 · LayaAir3.0文档 · LAYABOX [ 35%]

...。 1,属性 属性 类型 描述 onreadystatechange function 一个JavaScript函数对象,当readyState属性改变时会调用它。 readyState unsigned short 请求的五种状态 response varies 响应实体的类型由 responseType 来指定, 可以是 ArrayBuffer ,Blob, Document, J...

来源: Laya3.0_文档 发布时间: 20230719

39. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 34%]

...码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D)...

来源: Laya3.0_文档 发布时间: 20230804

40. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 27%]

...显示节点设置了碰撞体之后,开发者可以为这些节点挂接Script脚本。在脚本中直接重写以上虚方法的代码逻辑。当运行触发了这些物理碰撞条件,就可以自动执行相应的代码逻辑。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎...

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