大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 请问layaair2.0-js 怎么用程序在list中添加多元素的item FD 宏编译时 出现 试图访问该方法时失败 播放背景音乐...
来源: Laya_社区 发布时间: 20170119
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Handler" Handler Class Handler Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,...
来源: Laya3.0_api 发布时间: 20231115
...如何让他每次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); /...
来源: Laya_社区 发布时间: 20190520
... Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...
来源: Laya2.0_示例 发布时间: 20260824
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket FD 宏编译时 出现 试图访问该方法时失败 打包android版本 点击返回...
来源: Laya_社区 发布时间: 20190729
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-04-03 12:53 浏览: 4321 关注: 10 人 cuixueying • 2016-12-14 18:25 用最新版本即可,没有版本限制,如果遇到问题我们可以随时沟通! wt1993113 • 2016...
来源: Laya_社区 发布时间: 20160913
...题,位置定位是没错,而且都是整数的移动地图的。 export default class MapSprite extends Laya.Image{ isShow:boolean = false; name:string = ""; constructor() { super(); } loadImageAndPos(name:string,posX:number,posY:number):void { this.name = name; this.anchorX = 0; this.anch...
来源: Laya_社区 发布时间: 20190315
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) LayaTree v1.0.5版本更新(2021.11.17) 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在...
来源: Laya_社区 发布时间: 20231020
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Viewport" Viewport Class Viewport Viewport 类用于创建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods clo...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/FrameOverTime" FrameOverTime Class FrameOverTime FrameOverTime 类用于创建时间帧。 Hierarchy FrameOverTime Implements IClone Index Constructors constructor A...
来源: Laya3.0_api 发布时间: 20231115