大约有 3,990 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2836) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(55)
...er.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); } 并没有getRes操作。我按这样子写法就不行
来源: Laya_社区 发布时间: 20180327
...ile3D /**是否开启调试模式。 */ public static var debugMode:Boolean = false; 设置为true, /** * 通过宏定义预编译shader。 * @param spriteIntToNameDic 精灵宏定义数组。 * @param...
来源: Laya_社区 发布时间: 20180620
...m.translate(new Laya.Vector3(-25,0,0),false); warehouse1.name = "仓库1"; var warehouseCollider1 = warehouse1.addComponent(Laya.MeshCollider); warehouseCollider1.mesh = warehouse1.meshFilter.sharedMesh;错误信息: TypeError: Cannot read property 'sharedMesh' of undefined at onComplete (file:///...
来源: Laya_社区 发布时间: 20171219
... Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var uiResArr =[ {url:"res/atlas/comp.atlas",type: Laya.Loader.ATLAS}, ]; Laya.loader.load (uiResArr , Laya.Handler.create(this,this.onLoded)); //加载图片 this.byte = new Laya.Byte(); //这里我们采用小端 th...
来源: Laya_社区 发布时间: 20180210
... function set alphaTestValue(value:Number):voidrenderQueueproperty public var renderQueue:int 所属渲染队列. Constructor DetailBaseMaterial()Constructorpublic function BaseMaterial() 创建一个 BaseMaterial 实例。 Method Detail_addReference()methodoverride public function _addReference(co...
来源: Laya2.0_api 发布时间: 20190513
Cannot read property '_physicsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了 Uncaught TypeError: Cannot read property '_physicsUpdateList' of null at PhysicsCollider.__proto._o...
来源: Laya_社区 发布时间: 20190415
...shFilter.sharedMesh = Laya.Mesh.load( zhoujianhua0591 • 2018-02-09 17:28 var skinnedMesh:Laya.SkinnedMeshSprite3D = this.role3d.getChildAt(0).getChildAt(0) as Laya.SkinnedMeshSprite3D; skinnedMesh.meshFilter.sharedMesh = Laya.Mesh.load("bin\character\boy\parts\Assets\boy02_idle-2.lm"); L...
来源: Laya_社区 发布时间: 20180209
... public function get connected():BooleandisableInputproperty public var disableInput:Boolean = false 不再缓存服务端发来的数据。 endianproperty endian:String 主机字节序,是 CPU 存放数据的两种不同顺序,包括小端字节序和大端字节序。 LITTLE_ENDIAN :...
来源: laya_api 发布时间: 20170929
...Base from '../SceneBase' import View=Laya.View; import Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("...
来源: Laya_社区 发布时间: 20190418
...} private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,并传入它的皮肤。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象...
来源: Laya3.0_api 发布时间: 20231115