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

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

701. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 41%]

...  at Function.eof (http://127.0.0.1:53462/game/code.js:93141:69)     at Class (http://127.0.0.1:53462/game/code.js:93649:37)     at Type.get (http://127.0.0.1:53462/game/code.js:98613:48)     at Type.create (http://127.0.0.1:53462/game/code.js:98776:20)     at onAssetsLoaded (http://127.0.0...

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

702. 分享水波一个shader [ 41%]

...er = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_NoiseTex"); public readonly Time:number = Sh...

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

703. 射线检测-碰撞器混合 [ 41%]

...eyMeshSprite3D.addComponent(DrawBoxColliderScript); this.debug = false; } }class ColiderDemo { /**键盘的上下左右控制猴子位移**/ private scene:Laya.Scene; private camera:Laya.Camera; private layaMonkey:Laya.Sprite3D; private layaMonkeyMeshSprite3D:Laya.SkinnedMeshSprite3D; private _tempU...

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

704. laya.ui.DialogManager_API3.0 [ 41%]

...Externals Only exported Menu Globals "laya/ui/DialogManager" DialogManager Class DialogManager DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设...

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

705. APP二次开发传字符串过长问题 [ 41%]

...。但是native打包安卓APP后, ExportJavaFunction.CallBackToJS(Test.class,"test",str); 二次开发中 APP调用JS方法的时候str字符串过长有丢失,请问是否有这个问题呢?请帮忙查看下? (字符串大概只收到1000个字符左右) 原字符串(在JAVA端打印...

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

706. laya.physics.PhysicsDebugDraw [ 41%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsDebugDrawProperties | Methods | Events Packagelaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启...

来源: Laya2.0_api 发布时间: 20190513

707. 射线检测-点击行走 [ 40%]

...kAt(box.transform.position, _vector3, _upVector3, _quaternion); } }); })();class RayPicking03 { private ray: Laya.Ray; private point: Laya.Vector2 = new Laya.Vector2(); private _outHitInfo: Laya.RaycastHit; private _position: Laya.Vector3; private _upVector3: Laya.Vector3; private _quaternion: Laya....

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

708. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...意基类必须和预制体根节点类型匹配,一般都是GButton。 class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.E...

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

709. laya.map.TileAniSprite [ 40%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以...

来源: Laya2.0_api 发布时间: 20190513

710. 动画不显示 [ 40%]

...gPanelUI;     import laya.device.motion.AccelerationInfo;     public class LayaSample {                  private var m_bkSound:Sound;         private var m_mapLayer:Sprite;         private var m_MapImgUrl:String;         private var m_Role:Animation;        ...

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