大约有 641 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(176) Laya_社区(166) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(29) Laya2.0_示例(9) Laya_示例(7)
...述](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
...} 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
...使用的图片资源不存在,则自动恢复。 */ 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
...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
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
...相机进行。因此务必保持与摄相机相同。 **/ 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
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
...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
...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
...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