大约有 1,125 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...nction (_super) { function Load_() { Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya.Sprite这里不写会报...
来源: Laya_社区 发布时间: 20180705
附加脚本的使用问题 class ScaleButton { constructor() { console.log("加载ScaleButton"); } private _owner: any; public set owner(o: laya.display.Sprite) { this._owner = o; console.log("设置owner"); } public get owner...
来源: Laya_社区 发布时间: 20170601
...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super(); //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain...
来源: Laya_社区 发布时间: 20190426
...mera.addComponent(CameraMoveScript); this.camera.clearColor = null; } Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.eleme...
来源: Laya_社区 发布时间: 20170323
...名1112.png Wechat Lib:1.9.98, 2018.4.4 17:39:27 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js:70...
来源: Laya_社区 发布时间: 20180426
...什么意思啊? ScrollBar 组件图片名字带$是什么意思? Laya.class是什么意思 Shake.instance.start(5, 500);这里面的5和500什么意思? layabox js中 的__super,call()是什么意思 这个写法是什么意思,能否解释一下,谢谢 camera的orthographicVerticalSize属...
来源: Laya_社区 发布时间: 20170219
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class BoxColliderInheritanceBoxCollider Collider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Publ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames SphereColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class SphereColliderInheritanceSphereCollider Collider Component3D EventDispatcher Object SphereCollider 类用于创建球碰撞...
来源: laya_api 发布时间: 20170929
...nction TestScene() { TestScene.super(this); } Laya.class(TestScene,"TestScene",_super); return TestScene; }(ui.TestViewUI)); 1.1创建好ui后,导出,再自己创建个脚本,粘贴上上面的代码,ui.TestViewUI 这个是你创建UI时取的名字+UI 2....
来源: Laya_社区 发布时间: 20180522
...了,这种情况要怎么避免 @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin { onConstruct(): void { super.onConstruct(); } } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20230526