大约有 426 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
....json里配的是Map192e06db1ff.json MovieClip类是找Map192622077fd.json export class MMovieClip extends Laya.MovieClip{ constructor(){ super(); } //初始化预加载数据 public m_initData(url:string,atlas:b...
来源: Laya_社区 发布时间: 20180615
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 动画混合无效(版本2.6) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 求助关于TiledMap的版本问题 ui list 里面的元素不能点...
来源: Laya_社区 发布时间: 20190419
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 求问shader中的attribute变量怎么动态修改 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 我的tieldmap生成的json文件里data是这种格式,地图显示有误 关于发...
来源: Laya_社区 发布时间: 20210729
...import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class AttackUI extends View { public btn_attack:Laya.Button; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Attack"); } } } 扩展UI代码: import { ui }...
来源: Laya_社区 发布时间: 20180926
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture Atlas...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRSessionManager" WebXRSessionManager Class WebXRSessionManager Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Pr...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations wor...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Pro...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 预设怎么在代码中使用 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 问题状态 最新活动: 2016-11-03 15:52 浏览: 3517 关注: 2 人 yuanxiaoshu • 2016-11-04 11:14 ...
来源: Laya_社区 发布时间: 20161103
...放(类似按钮)的功能,全部代码如下所示: ```typescript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 thi...
来源: Laya2.0_文档 发布时间: 20210715