大约有 426 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Loader" Loader Class Loader Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader re...
来源: Laya3.0_api 发布时间: 20231115
...gameStart); 加载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI { constructor() { super(); this.btnStart.on(Laya.Event.CLICK, this, this.startGame); } startGame(): void { ...
来源: Laya_社区 发布时间: 20190510
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-11-19 15:36 浏览: 2154 关注: 2 人 水墨 • 2018-11-19 16:01 谢谢,原来是没引入库,我看bin文件夹里面有,还以为引入了 MeT • 2018-11-28 15:20 初学,...
来源: Laya_社区 发布时间: 20181119
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 骨骼动画播放完后的回调时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活...
来源: Laya_社区 发布时间: 20190418
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url u...
来源: Laya3.0_api 发布时间: 20231115
...cket大型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeou...
来源: Laya_社区 发布时间: 20180119
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 请问下加载TFF字体要怎么加载呢? 本地调试加载本地图片都报错 关於文档丶API丶Demo...
来源: Laya_社区 发布时间: 20161228
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Propertie...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3D Index Properties tmpVec3 Accessors localMatrix loca...
来源: Laya3.0_api 发布时间: 20231115
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Test { private h1: Laya.Handler; private h2: Laya.Handler; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MI...
来源: Laya_社区 发布时间: 20171221