大约有 503 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
Laya_社区(426) Laya2.0_文档(30) Laya3.0_文档(15) Laya2.0_示例(8) Laya_示例(7) laya_api(7) Laya3.0_api(6) Laya2.0_api(4)
Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent PhysicsCollider这个组件我只添加了一次,当我按住键盘在点击鼠标的时候,就会有这个错误。说我组件重复添加。我不知道,是你们有默认的键盘事件影响的,还是什么问...
来源: Laya_社区 发布时间: 20200505
... 分完之后代码上要写什么?我按模块 src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊 fishkuro • 2017-03-25 11:26 怎么弄啊,我src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊
来源: Laya_社区 发布时间: 20170324
...unction (_super){ function Building(params) { Building.super(this); } Laya.class(Building,"Building",_super); return Building; })(Laya.Sprite) //床 var Bed = (function (_super){ function Bed(params) { Bed.super(this); } Laya.class(Bed,"Bed",Building); return Bed; })() var HomeView = (funct...
来源: Laya_社区 发布时间: 20171106
...内容相关的链接 提交 4 个回复 kdsrpg 赞同来自: 还有比如class B还未加载,在class A里面定义了class B的静态变量 class A{ public static b:B = new B(); } 这种,由于B并不存在 所以翻译成A.b=new B();肯定也是报错的,这种情况typescript是怎...
来源: Laya_社区 发布时间: 20170302
...明全局枚举类型 - `declare function` 声明全局函数 - `declare class` 声明全局类 - `declare module`声明全局模块 - `declare namespace` 声明全局对象(含有子属性) - `interface 和 type` 声明全局类型 通过以上语法,我们可以看出,类型定义文件里...
来源: Laya2.0_文档 发布时间: 20210715
...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr...
来源: Laya_社区 发布时间: 20171208
新手入坑请教下各位大神关于LayaMaxUI问题 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { ex...
来源: Laya_社区 发布时间: 20190402
...AtlasAniDemo.ts,并编写代码如下: ```typescript // 程序入口 class AtlasAniDemo{ private roleAni:Laya.Animation; constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调...
来源: Laya2.0_文档 发布时间: 20210715
... console.log("kk1") var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; console.log("kk2") var FrameAnimation=laya.display.FrameAnimation,Sprite=laya.display.Sprite,Text=laya.display.Text; console.log("kk22") var View=laya.ui.View; con...
来源: Laya_社区 发布时间: 20170725
... 提交 2 个回复 aaaaaaaaa 赞同来自: cuixueying 已解决 关于class类名可以重名的问题namespace Main.js: import MyTestView = view.test.MyTestView; MyTestView: namespace view.test { export class... } 2017-05-04 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 不是很明...
来源: Laya_社区 发布时间: 20170504