大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0064 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...de.part", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } public onAssetsLoaded(settings: ParticleSetting): void { this.sp = new Particle2D(settings); this.sp.emitter.start(); this.sp.play(); Laya.stage.addChild(this.sp); this.sp.x = Laya.stage.width / 2; this.sp.y = Laya.stage.heig...
来源: Laya_示例 发布时间: 20260106
...ew.part", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } public onAssetsLoaded(settings: ParticleSetting): void { this.sp = new Particle2D(settings); this.sp.emitter.start(); this.sp.play(); Laya.stage.addChild(this.sp); this.sp.x = Laya.stage.width / 2; this.sp.y = Laya.stage.heig...
来源: Laya_示例 发布时间: 20260106
... laya.display.Stage; import laya.webgl.WebGL; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300, WebG...
来源: Laya2.0_文档 发布时间: 20210714
...laya_Aaron(小明) */ import laya.display.Text; public class HelloLayabox { public function HelloLayabox() { //创建舞台,默认背景色是黑色的 Laya.init(600, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
...| Frames No Frames PhysicsProperties | Methods Packagelaya.d3.utilsClasspublic class PhysicsInheritancePhysics Object Physics 类用于简单物理检测。 Public Properties PropertyDefined By gravity : Vector3[static] 重力。PhysicsPublic Methods MethodDefined By Physics()Physics ...
来源: laya_api 发布时间: 20170929
...; import laya.net.Socket; import laya.utils.Byte; import laya.webgl.WebGL; public class SocketSample { public var socket:Socket; private var byte:Byte; public function SocketSample() { //初始化引擎 this.byte = new Byte(); this.byte.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端; this....
来源: Laya_社区 发布时间: 20180202
...es No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active :...
来源: Laya2.0_api 发布时间: 20190513
...le ui.test { export class TestSceneUI extends Laya.Scene { public scoreLbl:Laya.Label; public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("test/TestScene"); } } REG("ui.test.TestSceneUI",TestSceneUI); } ...
来源: Laya_社区 发布时间: 20190402
...yatest\testdict\src\test"文档类 package { /*[COMPILER OPTIONS:normal]*/ public class testdict { public function testdict() { } } }分包的类package test { import laya.display.Stage; import laya.utils.Dictionary; import aa.TestAA; public class AAA { public function AAA() { TestAA; Laya.stage; St...
来源: Laya_社区 发布时间: 20170322
...de.part", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } public onAssetsLoaded(settings: ParticleSetting): void { this.sp = new Particle2D(settings); this.sp.emitter.start(); this.sp.play(); Laya.stage.addChild(this.sp); this.sp.x = Laya.stage.width / 2; this.sp.y = Laya.stage.heig...
来源: Laya2.0_示例 发布时间: 20260106