大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...么只能用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
...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
...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
...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
... * @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
...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
...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
...消失表情变大 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
...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
图集资源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