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

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

491. 天理何在,一个轴心点位中心的addChild到一个父容器,父容器的轴线点也是中心 [ 55%]

...塔防游戏,分享给初学的朋友们(ts版本)《二》 为什么给Sprite容器添加点击事件没反应 分享一个TS版本的3D2D结合的单机斗地主Demo 一个时间轴动画里创建的多个动画,怎么分别调用?如图 请问下loader如何强制加载一个文件,避免...

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

492. l龙骨动画内存上升 [ 55%]

...playDragonBonesAnimation(url:String,dragronX:Number,dragronY:Number,parent:Sprite,isLoop:Boolean):void{             var tem:Templet = new Templet();             var longgu:Skeleton;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():...

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

493. laya.ui.Clip_API3.0 [ 55%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

494. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 54%]

js环境下使用Loader加载图片在Sprite对象的.on函数无效 js环境下使用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触...

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

495. laya.ui.Dialog_API3.0 [ 54%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...

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

496. laya.ui.UIGroup_API3.0 [ 54%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

497. laya.ui.FontClip_API3.0 [ 54%]

...56 _graphics _graphics: AutoBitmap Inherited from Clip._graphics Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

498. 打包为APP后,Lable的宽高有所变化,请问如何修正? [ 54%]

...,为什么打包APK之后在手机上就连接不上socket 如何设置Sprite的宽高和点击区域? 请问下加载TFF字体要怎么加载呢? 问题状态 最新活动: 2018-05-30 10:24 浏览: 1450 关注: 2 人 黑白 • 2018-05-30 10:31 请问不自行加载字体的情况下,可以...

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

499. 在Unity中设置动画事件(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 54%]

...:void { Laya.stage.addChild(scene) as Scene3D; //获取cube对象 var cube:Sprite3D = scene.getChildByName("Cube"); //添加组件(脚本) var _script:SceneScript = cube.addComponent(SceneScript); //label用于显示 var _lab:Label = new Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 1...

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

500. 请问object层中添加的sprite怎么添加点击事件 [ 54%]

请问object层中添加的sprite怎么添加点击事件 Object层是tiledmap最上面的一层,其中添加了一个sprite对象,但是给这个sprite添加鼠标点击事件不起作用,请大神看看 mallLayer = tiledMap.getLayerByName("Object"); budai = tiledMap.getLayerObject("Object",...

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