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

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

1561. 求教 label.text之类的文本,能否支持从右到左的显示?或者有没有什么解决方案,现有阿拉伯文、维语的需求 [ 59%]

...版模式为右到左。          */         public static function setTextRightToLeft():void         {             var style:Object;             style = Browser.canvas.source.style;             style.display = "none";           ...

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

1562. laya.components.AnimatorStateNumberCondition_API3.0 [ 59%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited accessor

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

1563. Sprite-绘制各种形状 [ 59%]

...ebgl.WebGL; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { // 不支持WebGL时自动切换至Canvas Laya.init(740, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage...

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

1564. 内存释放问题 [ 59%]

...tionary(); constructor() { } static gameLoading(name: string, onCompleted: Function): void { let uiResArray = [ { url: "res/atlas/common.json", type: Laya.Loader.ATLAS }, { url: "res/atlas/comp.json", type: Laya.Loader.ATLAS }, // 登录的UI和选角的UI { url: "res/atlas/user.json", type: Laya.Lo...

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

1565. 微信小游戏 使用innerHTML时抛异常 "需要引入xml解析库文件"请问如何解决 [ 59%]

...          */         public static var parseXMLFromString:Function = function(value:String):XmlDom {             var rst:*;             var Parser:*;             value = value.replace(/>\s+</g, '><');             try {   ...

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

1566. Sprite图片显示不了 [ 59%]

Sprite图片显示不了 public function HelloLayabox() {             Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL);             // 不支持WebGL时自动切换至Canvas             Laya.init(800, 600);             Laya.stage.alignV = Stage.ALIGN_M...

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

1567. laya.renders.Render_API3.0 [ 59%]

...structors constructor Properties _Render _customRequestAnimationFrame _loopFunction is3DMode Accessors canvas context customRenderEngine Methods initRender customRequestAnimationFrame vsyncTime Constructors constructor new Render(width: number, height: number, mainCanv: HTMLCanvas): Render Defined i...

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

1568. tesT中是一个按钮,在这按钮中加入怎么样的函数,才能调用SAMPLE中的MOVEleft这个函数? [ 59%]

...相关的链接 提交 1 个回复 cuixueying 赞同来自:   把private function moveleft改为public function moveleft,在Sample中实例化moveleft所在的类,就可以通过实例去调用了。   建议你网上找下AS3的属性和函数相互调用的相关教程,学习下! 2016-12...

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

1569. laya.d3.component.animator.AnimatorStateBoolCondition_API3.0 [ 59%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited accessor

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

1570. laya.resource.BaseTexture_API3.0 [ 59%]

...建 Parameters url: string Returns boolean 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