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

大约有 160 项符合查询结果, 库内数据总量为 4,848 项。 (搜索耗时: 0.0061 秒)

71. CameraMoveScript.as在哪儿下载群里的有错 [ 70%]

...s.Event; import laya.events.KeyBoardManager; /** * ... * @author */ public class CameraMoveScript extends Script { protected var lastMouseX:Number; protected var lastMouseY:Number; protected var yawPitchRoll:Vector3 = new Vector3(); protected var resultRotation:Quaternion = new Quaternion(); protect...

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

72. laya.d3.core.material.PBRMaterial [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PBRMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class PBRMaterialInheritancePBRMaterial BaseMaterial laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

73. playSound和playMusic结束时候有异常抛出 [ 70%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

74. 如何在游戏入口处获取对象的子对象 [ 70%]

...ap = (function (_super) { function loadMap() { loadMap.super(this); } Laya.class(loadMap,"loadMap",_super); var _proto = loadMap.prototype; _proto.init = function() { this.num = ""; this.map = new TiledMap(); } _proto.showMap = function(num) { this.num = num; this.map.createMap("map/level/mota_map" ...

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

75. laya.d3.core.scene.OctreeNode [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames OctreeNodeProperties | Methods Packagelaya.d3.core.sceneClasspublic class OctreeNodeInheritanceOctreeNode ObjectImplements ITreeNodePublic Properties PropertyDefined By  _children : Vector.<OctreeNode>OctreeNode...

来源: laya_api 发布时间: 20170929

76. 2.0版本可用的CameraMoveScript.ts [ 70%]

....0,跟示例里效果一样的文件:   /** * ... * @author */ export class CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;     pro...

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

77. 关于laya生成的canvas定位问题导致内部事件不正确 [ 69%]

...nter;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type="text/javascript" src="http://layaair.ldc.layabox.com ... ot%...

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

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

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

79. laya.d3.shadowMap.ParallelSplitShadowMap [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParallelSplitShadowMapProperties | Methods Packagelaya.d3.shadowMapClasspublic class ParallelSplitShadowMapInheritanceParallelSplitShadowMap Object ... Public Properties PropertyDefined By  PSSMNum : intParallelSplitS...

来源: laya_api 发布时间: 20170929

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

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