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

大约有 29 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

21. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 62%]

...Scene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显...

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

22. putimagedata 不起作用 [ 60%]

putimagedata 不起作用 (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.client...

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

23. laya.d3.core.render.command.CommandBuffer_API3.0 [ 60%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

24. 为何我加载spine的动画drawcall会那么高,shader的指标也很高 [ 54%]

...赞同来自: public getSpineAni(url:string,completeCaller:any,completeFun:Function):void         {             this.m_spineCopmleteFun = completeFun;             this.m_completeCaller = completeCaller;             this.m_curLoadingUrl = url;             if(this.isLoaded(...

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

25. 微信小游戏中不能加载proto文件 [ 51%]

...  request:fail invalid url "res/protobuf/Login.proto"   具体代码: (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoB...

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

26. socket大型项目回调 [ 50%]

...hakeCallback:any = null; private handshakeBuffer:any; private initCallback:Function = null; private _callbacks:any = {}; private reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; console.groupEnd = function(){conso...

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

27. 3D模型旋转定位问题 [ 49%]

...l/build/warehouse1/warehouse1.lh", Laya.Handler.create(this, onComplete)); function onComplete() { //仓库原型 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.tra...

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

28. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 26%]

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

来源: Laya3.0_文档 发布时间: 20240117

29. 构建apk后,java报错 [ 9%]

...t;>>>>>>>>className:layaair/game/browser/ExportJavaFunction,methodName:GetDeviceInfo 2018-11-26 18:31:47.964 4749-4838/com.layabox.dotJourney E/LayaBox: >>>>>>>>>>>>before 2018-11-26 18:31:47.975 4749-4838/com.layabox.dotJourney E/LayaBox...

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