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

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

2311. 怎么获取手机相册内容 [ 49%]

...ya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(500,500);//初始化引擎 var skins:Array = [ "res/button-1.png" ]; Laya.loader.load(skins, Handler.create(this, onUIAssetsLoaded)); } public function onUIAss...

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

2312. 多场景跳转遇到当前场景不能remove的问题 [ 49%]

...ndow.sceneSelectroommultiple); delete window.sceneSelectroommultiple; Laya.class(StartgameUI, "StartgameUI", startgameUI); var sceneStartgame = new StartgameUI(); window.sceneStartgame= sceneStartgame; Laya.stage.addChild(sceneStartgame); 5个场景,4个跳转,前2个正常,后2个不正常,...

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

2313. Image.loadImage 方法加载问题 [ 49%]

...publicSpaceData = cell.dataSource; } module gamepublicspaceitem {  export class PublicSpaceItem extends Laya.Box  {   public static BTN_ENTRER_CLICK:string = "BtnEnterClick";   public _publicSpaceData:datasheet.PublicSpaceData;   private bg:Laya.Image;   private btnEnter:Laya.Button;   c...

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

2314. 自定义UI导致编辑器无显示 [ 49%]

...;& (clipY=1); this._clipX=clipX; this._clipY=clipY; this.skin=url; } __class(LabelAtlas,'laya.customUI.LabelAtlas',_super); var __proto=LabelAtlas.prototype; return LabelAtlas; })(Clip) xml如下: <?xml version="1.0" encoding="utf-8"?> <uiComp> <!-- drag:0-...

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

2315. laya.d3.core.trail.TrailRenderer_API3.0 [ 49%]

...nly exported Menu Globals "laya/d3/core/trail/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor script...

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

2316. 点击拖动图片,当鼠标移出再移回舞台中时如何保持点击状态 [ 49%]

...laya.events.Event; import laya.ui.Image; import laya.utils.Browser; public class TestDemo { private var sp:Sprite; public function TestDemo() { Laya.init(500,500); Laya.stage.bgColor="#EEFFCC"; sp=new Sprite(); sp.graphics.drawRect(0,0,100,50,"#FF0000"); sp.size(100,50); // 设置轴心点为显示...

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

2317. laya.d3.core.light.PointLight [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建...

来源: laya_api 发布时间: 20170929

2318. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 49%]

... Menu Globals "laya/d3/core/pixelLine/PixelLineRenderer" PixelLineRenderer Class PixelLineRenderer PixelLineRenderer 类用于线渲染器。 Hierarchy BaseRender PixelLineRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scr...

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

2319. laya.d3.physics.Rigidbody3D [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器...

来源: Laya2.0_api 发布时间: 20190513

2320. laya.d3.math.Native.ConchVector4 [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefi...

来源: Laya2.0_api 发布时间: 20190513