大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...。 1.谷歌浏览器跨域问题。 我新建空项目,新场景,新class,使用谷歌浏览器调试,会报错跨域,找了半天项目设置,社区里也找了没找到为什么。但是我新建3D事例项目,却正常,并没有跨域问题,对比半天两个项目的文件差...
来源: Laya_社区 发布时间: 20190328
...AssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this.Boot.selectHandler = new Laya.Handler(this, onSelect...
来源: Laya_社区 发布时间: 20160722
...动图5所示: (图5) **示例代码:** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel...
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...
来源: laya_api 发布时间: 20170929
...import morn.core.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender);...
来源: Laya_社区 发布时间: 20151224
...它又自动改回extends View了,于是乎每次生辰都要把所有的class全部改一遍继承 这个到layaair2.0了还没有解决吗? 2018-11-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 ...
来源: Laya_社区 发布时间: 20170812
...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) 附件是可复现问题的U3d项目文件,我使用的版本是2017.1.0f3。官方大神帮看看呗…… 附件 : --> 导出Sprite3D报错.rar 2018-12-18 添加...
来源: Laya_社区 发布时间: 20181218
API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class TerrainMaterialInheritanceTerrainMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Pro...
来源: Laya2.0_api 发布时间: 20190513
... import laya.display.Sprite; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); var image:Image = new ...
来源: Laya_社区 发布时间: 20190110
...int对象父容器rotation旋转之后检测不了碰撞 附上代码 class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...
来源: Laya_社区 发布时间: 20180315