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

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

1291. 粒子系统-永恒之光 [ 66%]

...ort laya.display.Stage; import laya.utils.Stat; /** * ... * @author ... */ public class Particle_EternalLight { public function Particle_EternalLight() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.s...

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

1292. 屏幕适配-自动竖屏 [ 66%]

...ort laya.display.Stage; import laya.display.Text; import laya.webgl.WebGL; public class SmartScale_Portrait { public function SmartScale_Portrait() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; ...

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

1293. 屏幕适配-自动横屏 [ 66%]

...ort laya.display.Stage; import laya.display.Text; import laya.webgl.WebGL; public class SmartScale_Landscape { public function SmartScale_Landscape() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER...

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

1294. laya.html.XML_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/XML" XML Class XML Hierarchy XML Index Constructors constructor Properties name text Accessors attributes Methods elements getAttrBool getA...

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

1295. 小游戏取消自动缓存后MiniAdpter.autoCacheFile=false, 怎样去加载自己手动缓存的本地文件 [ 66%]

...(全路径)          * @return          */         public static function getFileInfo(fileUrl:String):Object {             return MiniFileMgr.getFileInfo(fileUrl);         }                  /**          * 获取缓存文件列表 ...

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

1296. laya.components.AnimatorTransition2D_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorTransition2D" AnimatorTransition2D Class AnimatorTransition2D Hierarchy AnimatorTransition2D Index Constructors constructor P...

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

1297. laya.ui.AdvImage [ 66%]

...ames No Frames AdvImageProperties | Methods | Events Packagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Bool...

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

1298. 求教 label.text之类的文本,能否支持从右到左的显示?或者有没有什么解决方案,现有阿拉伯文、维语的需求 [ 66%]

...里面 有    /**是否是从右向左的显示顺序*/         public static var RightToLeft:Boolean = false;   /**          * 设置文字排版模式为右到左。          */         public static function setTextRightToLeft():void         {     ...

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

1299. laya.components.AnimatorStateNumberCondition_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorStateCondition" AnimatorStateNumberCondition Class AnimatorStateNumberCondition Hierarchy AnimatorStateCondition AnimatorStat...

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

1300. LayaAir引擎1.7 之后as转换js,出现问题 [ 66%]

...常处理,1.7之后,这些代码转换出现问题 as 代码 override public function get visible():Boolean  { return super.visible; } override public function set visible(value:Boolean):void  { super.visible = value; if (value) _mcAni.removeFromParent(); }   1.7之后的转换 __getset(0,__p...

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