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

大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0056 秒)

551. UI-TextArea [ 65%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_TextArea { private skin: string = "../../res/ui/textarea.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = ...

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

552. 文本-自动换行 [ 65%]

...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_WordWrap { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTE...

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

553. [ts] 找不到名称“Laya” [ 65%]

...S脚本的时候,报如下提示,貌似是找不到laya的支持包。 export default class HomeViews extends L编辑器也不自动提示laya的包 附件 : --> 2020-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

554. 骨骼动画-藤蔓 [ 65%]

...rowser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmatur...

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

555. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 65%]

...效果,以及导出的格式。 我们先通过菜单栏的 `Options`->`Export Options` ,打开Export Options 设置导出选项,如下图所示: ![img](img/6-1.png) 打开后效果如下图所示: ![6](img/6.png) 在这个界面里,我们仍然来介绍一下重要的参数。 | 参数...

来源: Laya2.0_文档 发布时间: 20210715

556. laya.d3.component.AnimatorControllerLayer_API3.0 [ 65%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/AnimatorControllerLayer" AnimatorControllerLayer Class AnimatorControllerLayer AnimatorControllerLayer 类用于创建动画控制器层。 Hierarchy AnimatorControllerLayer Implements...

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

557. TS setExternalLinkEx問題 [ 65%]

...r = Laya.Loader; import Event = Laya.Event; import Browser = Laya.Browser; export class GameMain{   constructor() {  Browser.window.conch && Browser.window.conch.showAssistantTouch(false); var ctx = document.createElement('canvas').getContext('2d'); function render(){ ctx.fillStyle='#99d9e...

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

558. 文本-HTML文本 [ 65%]

...MLIframeElement; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_HTML { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; L...

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

559. 骨骼动画-橡胶人 [ 65%]

...rowser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private m...

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

560. UI-ColorPicker [ 65%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ColorPicker { private skin: string = "../../res/ui/colorPicker.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...

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