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

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

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

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

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

32. vivo小游戏 · LayaAir3.0文档 · LAYABOX [ 49%]

...例如下: 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

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

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

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

34. 使用3DUI · LayaAir3.0文档 · LAYABOX [ 43%]

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

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

...码如下: 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

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

...下代码: 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

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

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

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

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

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

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

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

...码如下: ... 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. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 23%]

...rty } = Laya; @regClass() export default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目...

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