大约有 9 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0025 秒)
...pe": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "L...
来源: Laya_示例 发布时间: 20241117
...reateDeepSkyblueRect(); createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.on(Event.MOUSE_DOWN, this, onDown); } function createCoralRect() { var coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设...
来源: Laya_示例 发布时间: 20241117
...oxCollider.setFromBoundBox(plane.meshFilter.sharedMesh.boundingBox); plane.name = "平面"; //正方体 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); var boxMat = new Laya.StandardMaterial(); boxMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/textur...
来源: Laya_示例 发布时间: 20241117
... 0); sprite3d4.transform.position = new Laya.Vector3(1.8, 0, 0); sprite3d1.name = "女巫 : 爱上一只村民 , 可惜家里没有 … … (MeshCollider)"; sprite3d2.name = "村民 : 谁说癞蛤蟆吃不到天鹅肉,哼 ~ (MeshCollider)"; sprite3d3.name = "小飞龙 : 别摸我,烦着呢 ! (...
来源: Laya_示例 发布时间: 20241117
...ssets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya...
来源: Laya_示例 发布时间: 20241117
...; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) } function playEnd() { mLabelSprite.removeSelf(); } })();module laya { import EventData = La...
来源: Laya_示例 发布时间: 20241117
...Error); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData', 'name=myname&psword=xxx', 'post', 'text'); } function showLogger() { logger = new Text(); logger.fontSize = 30; logger.color = "#FFFFFF"; logger.align = 'center'; logger.valign = 'middle'; logger.size(Laya.stage.width, Laya.st...
来源: Laya_示例 发布时间: 20241117
...estError); hr.send('http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&psword=xxx', null, 'get', 'text'); } function showLogger() { logger = new Text(); logger.fontSize = 30; logger.color = "#FFFFFF"; logger.align = 'center'; logger.valign = 'middle'; logger.size(Laya.stage.width, La...
来源: Laya_示例 发布时间: 20241117
...恢复"; } }; return GameMain; }()); new GameMain(); })(leo || (leo = {}));namespace leo { import Sprite = laya.display.Sprite; import Animation = laya.display.Animation; import Text = laya.display.Text; import Stage = laya.display.Stage; import Browser = laya.utils.Browser; import Stat = laya.utils...
来源: Laya_示例 发布时间: 20241117