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

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

571. 文本-复杂的文本样式 [ 46%]

....y = (Laya.stage.height - txt.textHeight) / 2; } } new Text_ComplexStyle();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(...

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

572. UI-ComboBox [ 46%]

...) { console.log("选中了: " + cb.selectedLabel); } } new UI_ComboBox();module laya { import Stage = Laya.Stage; import ComboBox = Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "res/ui/combobox.png"; constructor() { // ...

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

573. ComboBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 46%]

...设置ComboBox,创建出符合自己需要的下拉框。 ```javascript module laya { import Stage = Laya.Stage; import ComboBox = Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "res/ui/combobox.png"; constructor() { // ...

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

574. Sprite-容器 [ 46%]

...ate); } animate() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...

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

575. 2.0 Beta3版本中,runtime脚本的的问题 [ 46%]

...View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage"); } } export class MonkeyPageUI extends View { constructor(){ super()} createChi...

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

576. Sprite-容器 [ 46%]

...p(1, this, animate); } function animate(e) { apesCtn.rotation += 1; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...

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

577. 缓动-简单的Tween [ 46%]

....stage.addChild(character); return character; } } new Tween_SimpleSample();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时...

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

578. [LayaAir3]3.3.1+3.3.2 多个后期处理增删会导致webgl报错 [ 46%]

...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined module写法的模块无法使用,其他地方使用会报错 导微信小程序报错window.focus is not a function 一个时间轴动画里创建的多个动画,怎么分别调用?如图 高频使用遮罩 导致手机...

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

579. 【LayaAir库编译问题】 [ 46%]

...噜娃 • 2018-07-12 19:52 已经找到问题了。LayaPublish.as3proj和module.def中源文件的引用路径是错误的。已经在github创建了Pull requests。 Laya_Aaron • 2018-07-12 20:54 @呼噜娃:ok,有问题尽管问,肯定是重视的,问题太多,人员少,敬请谅解 呼...

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

580. 文本-位图字体 [ 46%]

...idth >> 1, Laya.stage.height - txt.height >> 1); } } new Text_BitmapFont();module laya { import BitmapFont = Laya.BitmapFont; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { pr...

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