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

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

2251. Spine渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...

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

2252. laya.d3.physics.CharacterController_API3.0 [ 50%]

...ted Menu Globals "laya/d3/physics/CharacterController" CharacterController Class CharacterController CharacterController 类用于创建角色控制器。 Hierarchy PhysicsComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor script...

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

2253. 急急急,如何设置按钮点击加载ani [ 50%]

...aths.Rectangle;     import laya.display.Stage;          public class LayaUISample {         private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B         private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B         public function L...

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

2254. http无响应 [ 50%]

...RequestComplete(e) { this.aaaa.text += "收到数据:" + hr.data; } Laya.class(LoginView,"LoginView",_super); //设置继承关系 //初始化函数 LoginView.prototype.init = function () { //监听登录按钮按下事件 this.login.on(Laya.Event.CLICK,this,this.onButtonLogin); //忘记密码 thi...

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

2255. 物理射线检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 50%]

...m/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`raycastAllFromTo`一类,`rayCast`,`rayCastAll`一类。我们将前面2个成为A类,后面为B类,我...

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

2256. layaair 2.0 个人觉得编辑器【难用】的地方 [ 50%]

...。 1.谷歌浏览器跨域问题。 我新建空项目,新场景,新class,使用谷歌浏览器调试,会报错跨域,找了半天项目设置,社区里也找了没找到为什么。但是我新建3D事例项目,却正常,并没有跨域问题,对比半天两个项目的文件差...

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

2257. laya.components.Script [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Pro...

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

2258. 3D场景中背景无法透明,版本2.7.1 [ 50%]

...2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya....

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

2259. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...

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

2260. 自定义页面基类的时候,会自动添加Laya命名空间导致报错 [ 50%]

...己的BaseView) declare module Laya{//在这个module里添加     class BaseView extends Scene{}//继承自Scene }里加上自己定义的页面,然后在编辑页面F9的Code导入类里写上引用和赋值   import BaseView from "../BaseView"; Laya.BaseView = BaseView 2019-09-06 0 1 分...

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