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

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

611. ja语言怎么样创建一个工具类在其他地方调用 [ 67%]

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

612. 附加脚本的使用问题 [ 67%]

附加脚本的使用问题 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

613. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 67%]

...,建议用脚本方式实现,比如子弹脚本。 */ 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

614. 射线BUG [ 67%]

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

615. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 67%]

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

616. ape.pivot(55, 72);啥意思呀 [ 67%]

...什么意思啊? ScrollBar 组件图片名字带$是什么意思? Laya.class是什么意思 Shake.instance.start(5, 500);这里面的5和500什么意思? layabox js中 的__super,call()是什么意思 这个写法是什么意思,能否解释一下,谢谢 camera的orthographicVerticalSize属...

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

617. laya.d3.component.physics.BoxCollider [ 67%]

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

618. laya.d3.component.physics.SphereCollider [ 67%]

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

619. 有关ui的问题 [ 67%]

...nction TestScene() {         TestScene.super(this);     }     Laya.class(TestScene,"TestScene",_super);       return TestScene; }(ui.TestViewUI));   1.1创建好ui后,导出,再自己创建个脚本,粘贴上上面的代码,ui.TestViewUI 这个是你创建UI时取的名字+UI 2....

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

620. Laya3.0 工程内的bundle.js文件存在某个类 导出微信工程后bundle.js又将该类裁剪了 [ 67%]

...了,这种情况要怎么避免   @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin {      onConstruct(): void {         super.onConstruct();     }  } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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