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

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

401. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 52%]

...述](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.net.LoaderManager) 。 ```typescript ...... //批量预加载方式 PreloadingRes(){ //预加载所有资源 var resource:Array = ["res/threeDimen/scene/TerrainScene/XunLongShi.ls", "res/threeDimen/skyBox/skyBox2/s...

来源: Laya2.0_文档 发布时间: 20210715

402. popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? [ 52%]

...} 2018-06-21 0 2 分享 微博 QZONE 微信 1553745787用户 赞同来自: class DialogPage extends ui.DialogPageUI { private tip:Laya.TipManager = new Laya.TipManager(); constructor() { super(); this.popupEffect= new Laya.Handler(this, function(dialog:Dialog):void { dialog.scale(1, 1); Laya.Tween.f...

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

403. 加载-销毁Texture使用的图片资源 [ 52%]

...使用的图片资源不存在,则自动恢复。 */ var GameMain = /** @class */ (function () { function GameMain() { this.isDestroyed = false; this.PathBg = "../../res/bg2.png"; this.PathFly = "../../res/fighter/fighter.atlas"; //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeigh...

来源: Laya_示例 发布时间: 20251209

404. viewportPointToRay产生的射线始终有偏差,是为什么? [ 52%]

...rt Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); p...

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

405. iphone6闪退 [ 51%]

iphone6闪退 objc[644]: Class JSWTFMainThreadCaller is implemented in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /private/var/mobile/Containers/Bundle/Application/6815AAA5-5DD9-4F5E-B035-86F46C8BD87F/layabox.app/layabox. One of the two will be used. Which one is un...

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

406. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 51%]

...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...

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

407. laya.display.AnimationPlayerBase [ 51%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation...

来源: laya_api 发布时间: 20170929

408. 限制区域拖动效果,为什么会无法限制呢? [ 51%]

...unction onStartDrag(e) { this.startDrag(dragRegion, true, 100); } }  Laya.class(GolfMainUI, "GolfMainUI", GolfMainPageUI);  //初始化DEBUG //初始化微信小游戏 Laya.MiniAdpter.init(); //程序入口 Laya.init(500,800, WebGL);  Laya.stage.scaleModel = "full";  // DebugTool.init() //激活...

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

409. VBOX动态增加的元素没有自动布局 [ 51%]

...bel; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; class TestUI extends ui.test.TestPageUI { constructor() { super(); var btn1=new ui.test.view_btnUI(); var btn1_btn:laya.ui.Button=btn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里为什么获取不到子node...

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

410. 运行器在手机上一打开就崩溃 [ 51%]

...onch5, PID: 13400 07-22 15:28:49.398: E/AndroidRuntime(13400): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient; 07-22 15:28:49.398: E/AndroidRuntime(13400): at layaair.autoupdateversion.NetHelper.httpStringGet(NetHelper.java:28) 07-22 15:28:49.398...

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