大约有 549 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0046 秒)
Laya_社区(318) Laya3.0_api(158) Laya2.0_文档(35) Laya3.0_文档(16) Laya2.0_示例(7) laya_api(7) Laya_示例(6) Laya2.0_api(2)
... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/components/AnimatorController2D" AnimatorController2D constructor _id destroyedImmediately lock name url uuid DEBUG cp...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
.../调整相机的位置 camera.transform.translate(new Laya.Vector3(0, 45, -60)); camera.transform.rotate(new Laya.Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight = _scene.addChild(new Laya.DirectionLight()...
来源: Laya2.0_文档 发布时间: 20210715
...HTMLDivElement ; Laya.stage.addChild(t); t.style.valign = "middle"; t.size(60, 120); t.style.wordWrap = true; t.style.leading = 10; t.innerHTML = "akshfkjashfkjhakshjdfhkasjdfhsaf"; 总结:以上的方法仅供参考,某些方法只是实现方式的一种,开发者也可以通过其他方式...
来源: Laya_社区 发布时间: 20161027
... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/resource/AtlasResource" AtlasResource constructor _id destroyedImmediately dir frames lock name textures url uuid DEBU...
来源: Laya3.0_api 发布时间: 20231115
.../调整相机的位置 camera.transform.translate(new Laya.Vector3(0, 45, -60)); camera.transform.rotate(new Laya.Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight = _scene.addChild(new Laya.DirectionLight()...
来源: Laya2.0_文档 发布时间: 20210715
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/d3/component/Animator/AnimatorController" AnimatorController constructor _id clipsID data destroyedImmediately lock na...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...
来源: Laya3.0_api 发布时间: 20231115
...项目。代码如下所示: ```typescript //初始化引擎 Laya.init(600, 400, Laya.WebGL); Laya.stage.bgColor = "#ffcccc"; var data = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addCh...
来源: Laya2.0_文档 发布时间: 20210714