• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0090 秒)

1081. 按照打地鼠教程来无法正常加载资源 [ 70%]

按照打地鼠教程来无法正常加载资源 public class Main{         public function Main(){             //初始化引擎             Laya.init(1136, 640);             Laya.stage.bgColor = "#ffcccc";             var resArr:Array = [  ...

来源: Laya_社区 发布时间: 20180106

1082. 附加脚本的使用问题 [ 70%]

...console.log("加载ScaleButton");     }     private _owner: any;     public set owner(o: laya.display.Sprite) {         this._owner = o;         console.log("设置owner");     }     public get owner(): laya.display.Sprite {         return this._owner;     } } 新建脚本类...

来源: Laya_社区 发布时间: 20170601

1083. laya.d3.core.particleshuriken.module.GradientDataInt_API3.0 [ 70%]

...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/GradientDataInt" GradientDataInt Class GradientDataInt GradientDataInt 类用于创建整形渐变。 Hierarchy ...

来源: Laya3.0_api 发布时间: 20231115

1084. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 ...

来源: Laya3.0_api 发布时间: 20231115

1085. laya.html.dom.HTMLDivElement [ 70%]

...es HTMLDivElementProperties | Methods | Events Packagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件...

来源: Laya2.0_api 发布时间: 20190513

1086. laya.ui.StatUI_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/StatUI" StatUI Class StatUI Hierarchy StatUI Implements IStatUI Index Methods hide render show showToggle update Methods hide hide(): void Im...

来源: Laya3.0_api 发布时间: 20231115

1087. 输入设备-贪吃蛇(重力感应) [ 70%]

...h + this.height, this.height, "#FF7F50"); } // 获取关节另一头位置 public getPinPosition():Point { var radian:number = this.rotation * Math.PI / 180; var tx:number = this.x + Math.cos(radian) * this.width; var ty:number = this.y + Math.sin(radian) * this.width; return new Point(tx, ty); } } ...

来源: Laya2.0_示例 发布时间: 20260106

1088. laya.display.cmd.DrawCurvesCmd_API3.0 [ 70%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawCurvesCmd" DrawCurvesCmd Class DrawCurvesCmd 绘制曲线 Hierarchy DrawCurvesCmd Index Properties lineColor lineWidth points x ...

来源: Laya3.0_api 发布时间: 20231115

1089. laya.d3.core.render.PostProcessEffect_API3.0 [ 70%]

...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/render/PostProcessEffect" PostProcessEffect Class PostProcessEffect PostProcessEffect 类用于创建后期处理渲染效果。 Hierarc...

来源: Laya3.0_api 发布时间: 20231115

1090. 屏幕适配-缩放-No Scale [ 70%]

...NOSCALE();package { import laya.display.Sprite; import laya.display.Stage; public class SmartScale_Scale_NOSCALE { private var rect:Sprite; public function SmartScale_Scale_NOSCALE() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; createCantralRect(...

来源: Laya_示例 发布时间: 20260106