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

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0105 秒)

1281. laya.events.EventDispatcher [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses HttpRequest, Loader, LoaderManager, Node, Socket, Sound, SoundChannel, Texture, TimeLine EventDispatche...

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

1282. 缓动-简单的Tween [ 65%]

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

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

1283. UI-ComboBox [ 65%]

...ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "../../res/ui/combobox.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.A...

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

1284. Sprite-新手引导 [ 65%]

...ontainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...

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

1285. 文本-位图字体 [ 65%]

....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName: string = "diyFont"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya...

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

1286. js调用android的java代码失败。NoSuchMethodException [ 65%]

...ethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os == "Conch-ios")...

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

1287. laya.device.geolocation.Geolocation [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170929

1288. laya.device.geolocation.Geolocation [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

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

1289. 文本-复杂的文本样式 [ 65%]

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

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

1290. webgl模式下对Panel组件旋转时Panel子对象显示错误的BUG! [ 65%]

...  测试demo(直接新建项目,拷贝代码即可) // 程序入口 class GameMain{ constructor() { // Laya.init(1280,720); //无问题 Laya.init(1280,720,Laya.WebGL);//有问题 console.log(Laya.version); var testSpriteRotation:PanelRotationTest = new PanelRotationTest(Laya.Sprite); testSpri...

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