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

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

21. (layabox2.0) layaUI.max.all.ts里的module ui前为什么要加export [ 84%]

(layabox2.0) layaUI.max.all.ts里的module ui前为什么要加export 这样会导致里面的export class不能识别,编译会出错 2018-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 151*****601 赞...

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

22. 已经在vs上引用相关的类,编译后bundle.js却没有相关的代码 [ 84%]

...s里面。 有谁碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运...

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

23. Laya 绑定显示内容到骨骼动画 [ 84%]

...  记录自己添加的内容:   1. 可绑定内容的骨骼动画   export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; }  /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number...

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

24. 获取不到父物体 节点 [ 84%]

...体 节点 类库 2.2.0beta 新手小白 不明白为什么都是null 的export default class startScene extends Laya.Scene { private sp: Sprite; public constructor() { super(); console.log("startScene"); console.log(Laya.stage.name); console.log(Laya.stage.numChildren); console.log(this.numChildren...

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

25. laya.utils.ClassUtils_API3.0 [ 84%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/ClassUtils" ClassUtils Class ClassUtils ClassUtils 是一个类工具类。 Hierarchy ClassUtils Index Properties _classMap Methods getClass getInstance regClass Properties Static _classMap _...

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

26. 2.0 beta UI Button无法获取 [ 83%]

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

27. 文本竖排排版布局 [ 83%]

...自: 谢谢 有方式获取类的全名吗?像: module My.ux.panel { export class BasePanel { } }  module My.ux.uuxx.panel { export class BasePanel { } }  什么获取BasePanel 的全名 即:My.ux.panel,BasePanel 和  My.ux.uuxx.panel.BasePanel,     2017-04-08 0 2 分享 微博 QZONE ...

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

28. 萌新请问下Laya2.0怎么注册类呀,Laya.class注册不了呢? [ 83%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问一下 ProtoBuf 支持 as3 版本吗? 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? [Laya2.0 3D] 2.0正式版上存在某些骨骼动...

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

29. 3D变换 · LayaAir3.0文档 · LAYABOX [ 82%]

...1,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; // 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); constructor() { super(); } /** * 组件...

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

30. html5发布iOS编译报错 [ 82%]

...    cd /Users/poss/Desktop/release/iOS/wangpainiuniu/wangpainiuniu     export IPHONEOS_DEPLOYMENT_TARGET=7.0     export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/b...

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