大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 2d拖尾效果的实现方案 求高人分享使用protobuff框架的游戏...
来源: Laya_社区 发布时间: 20220531
...ateUserInfoButton( { type: 'text', text: '点击进入游戏', style: { left: wx.getSystemInfoSync().windowWidth/2-70,...
来源: Laya_社区 发布时间: 20180911
...Laya; @regClass() export class SpotLight extends Laya.Script { @property({ type: Laya.Sprite }) private spotLight: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.setSpotLight(); } // 创建聚光灯 setSpotLight(): void { this.spotLight.pos(336, 2...
来源: Laya3.0_文档 发布时间: 20251010
... onPostRender onPreRender onReset onStart onUpdate Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...10-13 11:26 解决了吗? qq408896436 • 2017-10-16 11:53 @Moeb:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> html,body{overflow: hidden;} *{margin: 0; padding:...
来源: Laya_社区 发布时间: 20170928
...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此...
来源: Laya3.0_文档 发布时间: 20251010
...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...tion onMouse(e:Event):void { //存储over状态的显示对象的name if(e.type==Event.MOUSE_OVER) { arr.push(e.target.name); } //遍历arr处于over状态的显示对象,如果该显示对象已经触发了out事件,则将其从数组移除 else { for(var i:int=0;i<arr.length;i++) { if(arr[i...
来源: Laya_社区 发布时间: 20170502
...加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(testView); __JS__("if(window.conch)") { dd=__JS__("windo...
来源: Laya_社区 发布时间: 20160918
...ow.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行上边这段代码呢?打开谷歌浏...
来源: Laya2.0_文档 发布时间: 20210714