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

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

431. 性能测试-虫子(慎入) [ 70%]

...xture; (function() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.height + padding * 2); Laya.loader.load(texturePath, Handler.create(this, onTextureLoaded)); })...

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

432. laya.ui.ScaleBox_API3.0 [ 70%]

...ox 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx ...

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

433. laya.ui.UIComponent_API3.0 [ 70%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

434. TiledMap销毁的问题,TiledMap销毁后屏幕变灰,不能显示 [ 70%]

...n",viewRect);我的游戏销毁的代码 _map.destroy(); _map = null; Laya.stage.addChild(new Plazz());//ui 经过排查后发现问题出现在TiledMap相关的代码里面 在TiledMap的destroy方法内 /** * 销毁地图 */ public function destroy():void { ....... //这里销毁地图层的代...

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

435. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 70%]

...合自己需要的下拉框。 ```javascript package { import laya.display.Stage; import laya.display.Text; import laya.ui.ComboBox; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ComboBox { /***下边列表美术资源**/ private var skin:String = "../../../../res/ui/combobox.p...

来源: Laya2.0_文档 发布时间: 20210714

436. laya.ani.bone.Skeleton_API3.0 [ 70%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY player rotation scaleX scaleY scene scrollRe...

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

437. 动画不显示 [ 70%]

...Sound;     import laya.webgl.shapes.Ellipse;     import laya.display.Stage;     import laya.ui.Label;     import laya.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.Te...

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

438. laya.ui.Label_API3.0 [ 70%]

...() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的...

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

439. 发射射线检测不到,物体有包围盒 [ 70%]

...           }      onMouseDown() {         this.point.x = Laya.stage.mouseX;         this.point.y = Laya.stage.mouseX;         //产生射线         this.camera.viewportPointToRay(this.point,this._ray);         //拿到射线碰撞的物体         this.scene.physics...

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

440. laya.media.VideoNode_API3.0 [ 70%]

...entTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX pivotY playbackRa...

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