大约有 787 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0071 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(54) Laya_示例(32) Laya2.0_示例(27)
... 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
...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
...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
...Externals Only exported Menu Globals "laya/ui/DialogManager" DialogManager Class DialogManager DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设...
来源: Laya3.0_api 发布时间: 20231115
...。但是native打包安卓APP后, ExportJavaFunction.CallBackToJS(Test.class,"test",str); 二次开发中 APP调用JS方法的时候str字符串过长有丢失,请问是否有这个问题呢?请帮忙查看下? (字符串大概只收到1000个字符左右) 原字符串(在JAVA端打印...
来源: Laya_社区 发布时间: 20181222
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
...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
...意基类必须和预制体根节点类型匹配,一般都是GButton。 class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.E...
来源: Laya3.0_文档 发布时间: 20251128
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
...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