大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...己建个空的类就好了 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
...如何使我的自定义类UIDropBox继承Laya.Sprite? var UIDropBox = (function () { var Sprite = Laya.Sprite; var Text = Laya.Text; function UIDropBox() { UIDropBox.super(this); this.txt = this.getTextFeild(); this.txt.y = 50; this.txt.text = 'aasassa'; console.log(this.addChild);//undefined con...
来源: Laya_社区 发布时间: 20161226
...使用wx等微信基础对象,ide版本1.7.19.1beta wx.login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined" 2018-07-28 添...
来源: Laya_社区 发布时间: 20180728
...as() at MethodInfo-3300() at laya.resource::Texture/addTextureToAtlas() at Function/http://adobe.com/AS3/2006/builtin::call() at laya.utils::Handler/runWith() at laya.events::EventDispatcher/event() at laya.resource::Resource/completeCreate() at laya.webgl.resource::WebGLCharImage/recreateResource()...
来源: Laya_社区 发布时间: 20200217
...: (see stack) message: Uncaught TypeError: MiniFileMgr.fs.listDir is not a function stack: [0]onMkdirCallBack@/data/user/0/com.vivo.hybrid/app_resource/com.fx.jjjt.vivominigame/libs/laya.vvmini.js:1073 [1]runWith@/data/user/0/com.vivo.hybrid/app_resource/com.fx.jjjt.vivominigame/libs/laya.core.js:10...
来源: Laya_社区 发布时间: 20200826
...例 然后在他们内部封装了动画方法然后同步执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(...
来源: Laya_社区 发布时间: 20180524
...aya/media/VideoTexture.ts:109 Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...air.ldc.layabox.com/demo/?category=2d&group=Tween&name=TimeLine function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabe...
来源: Laya_社区 发布时间: 20180718
...:Number两个齿轮角速度比例,默认1 Implementation public function get ratio():Number public function set ratio(value:Number):voidMethod Detail_createJoint()methodoverride protected function _createJoint():voidMon May 13 2019, 03:09 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...er.create("../../res/threeDimen/skinModel/dude/dude.lh", completeHandler); function onComplete() { var dude1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude1.transform.position = new Laya.Vector3(-0.6, 0, 0); var dude2 = Laya.Sprite3D.instantiate(dude1,...
来源: Laya_示例 发布时间: 20260303