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

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

1071. AS中的回调函数为什么只能用Handler创建? [ 70%]

...么只能用Handler创建? 比如一个主类: private var score:int; public function main():void {  new class(callback); } private function callback(num:int):void {   this.score = num;   var tmp:int = this.score;   trace(tmp); }     另外一个类:class.as 里面有个方法   public ...

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

1072. LayaAir项目发布Flash版本 报错 [ 70%]

...ol\as\libs\src\laya\utils\Browser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* { return __JS__('window'); } package { /** * @private */ public function __JS__(value:*):* { return null; } }   这是不再支持转flash版本的意思吗   2017-04-07 ...

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

1073. laya.html.XMLUtils_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/XMLUtils" XMLUtils Class XMLUtils Hierarchy XMLUtils Index Methods decodeString encodeString getBool getFloat getInt getString Methods Stat...

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

1074. 动画-旧版骨骼动画 [ 70%]

...mbie); this.loadUI(); }); } //遍历节点,添加SkinAnimation动画组件 public addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimations = meshSprite3D.addCom...

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

1075. layaair2.0默认字体设置无效 [ 70%]

... * @see laya.display.Text#defaultFont          */         public function get font():String {             return _font;         }                  public function set font(value:String):void {             if ((_style as TextStyle).currB...

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

1076. laya.d3.renderobjs.nativeobj.NativeCullPassBase_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeCullPass" NativeCullPassBase Class NativeCullPassBase Hierarchy NativeCullPassBase Implements ICullPass Index Cons...

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

1077. laya.d3.core.particleshuriken.module.RotationOverLifetime_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/RotationOverLifetime" RotationOverLifetime Class RotationOverLifetime RotationOverLifetime 类用于粒子的生...

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

1078. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 70%]

...消失表情变大 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno...

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

1079. 关于event中只读属性touches,问题,求解 [ 70%]

...port laya.display.Text; import laya.events.Event; import laya.webgl.WebGL; public class DemoTouch { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x...

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

1080. 图集资源clearRes清除之后下次再用到load时加载失败 [ 70%]

图集资源clearRes清除之后下次再用到load时加载失败 public LoadImg(url:string):void { Laya.loader.load([{ url:url, type: Laya.Loader.ATLAS }],Laya.Handler.create(this,this.Loa,null)); } private Loa():void { console.log("在又有意义有意义有意义有意义有意义有意义有...

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