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

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

291. laya.ui.TextInput_API3.0 [ 34%]

...代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef...

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

292. laya.ui.Radio_API3.0 [ 33%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeCol...

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

293. laya.ui.TextArea_API3.0 [ 32%]

...extArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea =...

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

294. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 32%]

...ame("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0...

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

295. 微信小游戏加载资源问题 [ 28%]

...aya.Browser.container.appendChild(Laya.Input['inputContainer']); Laya.Laya.stage.on("resize", null, MiniInput._onStageResize); MiniAdpter.window.wx.onWindowResize && MiniAdpter.window.wx.onWindowResize(function (res) { }); Laya.SoundManager._soundClass = MiniSound; Laya.SoundManage...

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

296. 引擎 TiledMap 居然不支持图块翻转 [ 25%]

...      this._mapSprite = new Laya.Sprite();             Laya.ILaya.stage.addChild(this._mapSprite);             var tJsonData = this._jsonData = e;             this._properties = tJsonData.properties;             this._orientation = tJsonData.orientation;             ...

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