大约有 4,338 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0088 秒)
Laya_社区(2450) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(25)
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProtoBuf = Browser.window.protobuf; Laya.init(550, 400); ProtoBuf.load("res/protobuf/awesome.proto", onAssetsLoaded); function...
来源: Laya2.0_示例 发布时间: 20241126
...设置mask属性为什么显示是透明的?怎样才能显示正常? (function () { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var HitArea = Laya.HitArea; var WebGL = Laya.WebGL; var red; var guideContainer; var tipContainer; var hitArea; var interactionArea; (function () { Config....
来源: Laya_社区 发布时间: 20200603
...tate (laya.d3.js:4313) at Animator._parse (laya.d3.js:5160) at Function._createNodeByJson (laya.d3.js:30554) at Function._createNodeByJson (laya.d3.js:30543) at Function._parse (laya.d3.js:30484) at _onHierarchyInnerFirstLevResouLoaded (laya.d3.js:30971) at Handle...
来源: Laya_社区 发布时间: 20200107
...onvertor(); // Div private var mapDiv:*; private var infoText:Text; public function InputDevice_Map() { Laya.init(Browser.width, 255); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; createDom(); initMap(); createInfoText(); var successHandler:Handler = new Handler(this, updatePosition); var errorHandle...
来源: Laya2.0_示例 发布时间: 20241126
....events.EventDispatcher; public class Mod extends EventDispatcher { public function Mod() { super(); } private static var _instance:Mod; public static function get index():Mod { return _instance ||= new Mod(); } public function init():void { Mod.event("aaaa"); } } }监听:Mod.on("aaa",this,onFunci...
来源: Laya_社区 发布时间: 20161218
...的方式不对 public var scene:Scene3D; public var camera:Camera; public function SkyBoxSample1() { Laya3D.init(0, 0); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); //Laya.stage.on(Event.RIGHT_MOUSE_DOWN, this, Destruction); scene = Main.box3D.add...
来源: Laya_社区 发布时间: 20181017
自定义对话框设置zOrder后,关闭时报错 var CountdownBar = (function () { function countdownBar() { PauseDialog.super(this); this.name = 'CountdownBar'; Laya.stage.addChild(this); this.zOrder = 100; this.count = 4; this.countLabel.text = '' + this.count; Laya.timer.loop(1000, this, this...
来源: Laya_社区 发布时间: 20171012
...een.to(point,{x:point.x,y:point.y,alpha:1,update:Laya.Handler.create(point,function(){ this.visible = true; })},800,Laya.Ease.backOut,null,i*400); timeline在一开始还在正常执行, 当有一半左右的ui元素进入到场景时, timeline循环卡住不动了, 等所有ui动画执行完毕, ti...
来源: Laya_社区 发布时间: 20180118
...camera2:Camera; private var x:Number = 0; private var y:Number = 0; public function D3Base_TargetTexture() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); loadUI(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene...
来源: Laya_社区 发布时间: 20170209
...己建个空的类就好了 package flash.ui { public class Mouse { public function Mouse() { } public static function hide():void { } public static function show():void { } } } cuixueying • 2017-03-17 19:46 有没有例子,上传一个,我们看下!
来源: Laya_社区 发布时间: 20170317