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

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

1411. 点击list的时候触发的e.target永远是被点击的item? [ 62%]

...内容相关的链接 提交 1 个回复 cuixueying 赞同来自: public function TestView() { var arr:Array=; for(var i:int=0;i<10;i++) { arr.push({my_clip:i}); } my_list.array=arr; my_list.renderHandler=new Handler(this,onRender); } private function onRender(cell:Box,index:int):void { // TODO A...

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

1412. laya.display.cmd.DrawCircleCmd_API3.0 [ 62%]

...ercent radius x y ID getBoundPoints recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

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

1413. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 62%]

...aya.Scene3D.load("res/TerrainScene/XunLongShi.ls",Laya.Handler.create(this,function(scene) { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; ...

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

1414. laya.resource.HTMLCanvas_API3.0 [ 62%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

1415. 粒子系统-场景与粒子 [ 62%]

...tils.Stat; /** * ... * @author ... */ public class Particle_Scene { public function Particle_Scene() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(Scene.load("../../../../res/threeDime...

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

1416. laya.display.cmd.DrawPathCmd_API3.0 [ 62%]

...n x y ID getBoundPoints recover _tempPoints Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

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

1417. laya.device.motion.RotationInfo_API3.0 [ 62%]

...r absolute alpha beta compassAccuracy gamma Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Enumeration Interface

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

1418. 【求助】怎么在自定义对象进行实例化的时候,给它绑定监听事件 [ 62%]

...击的时候打印  test  ,但是没反应。 代码如下:private function showFoods():void{ foodSprite = new Sprite(); Laya.stage.addChild(foodSprite); //初始化当前菜品下标 this.index = 0; //数据数组 foodArray = ; foodArray.push(new Food("菜品1", "1", 0)); foodArray.push(new F...

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

1419. Sprite-新手引导 [ 62%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var HitArea = Laya.HitArea; var WebGL = Laya.WebGL; var red; var guideContainer; var tipContainer; var guideSteps = [ { x: 151, y: 575, radius: 150, tip: "../../r...

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

1420. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 62%]

...直接崩溃 1.最简单的拖放,在apk里无法使用       public function TestMain()         {             //舞台默认背景色是黑色的             Laya.init(1136, 640,WebGL);             Laya.loader.load([GameConfig.getAssetsFile("comp")],Handler.cre...

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