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

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

511. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 50%]

...onents/Inspector-CapsuleCollider.png) 1. Is Trigger 2. Center 3. Radius 4. Height 5. Direction - Mesh Collider ![Mesh Collider](./img/components/Inspector-MeshCollider.png) 1. Is Trigger 2. Mesh - Rigidbody ![Rigidbody](./img/components/Inspector-Rigidbody.png) 1. Mass 2. Is Kinematic 3. Use Gravity...

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

512. laya.media.SoundNode [ 50%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 表示显示对象的高度,以像素为单位。 高度默认为0,可以手动设置,或者通过getbounds获取实际宽度。设置此高度只用来做鼠标碰撞使用,改变后并不影响显示...

来源: laya_api 发布时间: 20170422

513. ToolTip鼠标悬停的使用 [ 50%]

...TipManager public function ToolTipDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#eeffcc"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { this._testTip=new TestTipsUI();//务必在Laya.init后去new...

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

514. Resources already exist,is repeated loading 加载特效报重复加载 [ 50%]

... this.sp.x = Laya.stage.width / 2;         this.sp.y = Laya.stage.height / 2;     } } 打印的报错: 11111111111 TransformDemo.ts:73 Resources already exist,is repeated loading: D:/myLaya/myLaya/bin/res/threeDimen/particle/2d.lh laya.core.js:16639 [warn]Retry to load: null laya.core...

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

515. laya.ui.FrameClip [ 50%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 表示显示对象的高度,以像素为单位。 高度默认为0,可以手动设置,或者通过getbounds获取实际宽度。设置此高度只用来做鼠标碰撞使用,改变后并不影响显示...

来源: laya_api 发布时间: 20170422

516. 使用webgl之后toDataUrl返回黑色的图像 [ 49%]

...unction LayaAirDemo() { //初始化引擎 Laya.init(Browser.width, Browser.height,WebGL); Stat.show(); Laya.stage.bgColor = "#ffcccc"; Laya.stage.on(Event.CLICK,this,onClick); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var...

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

517. 其他引擎的Demo-Example_23 [ 49%]

...ya.Browser; var WebGL = Laya.WebGL; var viewWidth = Browser.width; var viewHeight = Browser.height; var lasers = []; var tick = 0; var frequency = 80; var type = 0; (function() { Laya.init(viewWidth, viewHeight, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SC...

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

518. LayaAir开发笔记(1)五十音图连连看 [ 49%]

...txt.bold = true; txt.pos(g_stat_width - txt.width - 40, g_stat_heiht - txt.height - 20); Laya.stage.addChild(txt); txt.on(Laya.Event.CLICK, this, function(e) { switch (e.type) { case Laya.Event.CLICK: gameStart(); break; } }); //注册鼠标点击 加入一个显示得分的函数,分数由时间...

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

519. 其他引擎的Demo-Example_23 [ 49%]

...高效。const Browser = Laya.Browser; let viewWidth = Browser.width, viewHeight = Browser.height, lasers = [], tick = 0, frequency = 80, type = 0; class PIXI_Example_23 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自...

来源: Laya2.0_示例 发布时间: 20251219

520. 分享:销毁龙骨动画! [ 49%]

...ublic function ASDemo() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); var DesBtn:Sprite = createButton("销毁动画"); DesBtn.x = 50; DesBtn.y = 50; Laya.stage.addChild(DesBtn); //创建一个Sprite充当音乐播放按钮 var addBtn:Sprite...

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