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

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

411. laya.ui.Button_API3.0 [ 52%]

...ui.Button; import laya.utils.Handler; public class Button_Example { public function Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//...

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

412. laya.ui.Image_API3.0 [ 51%]

...上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/b...

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

413. 关于2D粒子的渲染问题 [ 51%]

...teWebGL.as文件中,可以看到,在下边的方法   public override function addParticleArray(position:Float32Array, velocity:Float32Array):void {   中,把所有的参数放到一个数组中:        var particleData:ParticleData = ParticleData.Create(settings, position, velocity, _...

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

414. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 51%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

415. laya.ui.ProgressBar_API3.0 [ 51%]

...ic class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"],...

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

416. laya.ui.ScaleBox_API3.0 [ 51%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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

417. config.jsh中无法使用confirm [ 51%]

...-2 浪货界扛把子 • 2018-01-16 12:04 @Monica: window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); // alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); var Test=Laya.PlatformClass.createClass("com.ygames.buyug...

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

418. laya.ui.CheckBox_API3.0 [ 51%]

...heckBox; import laya.utils.Handler; public class CheckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//...

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

419. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 51%]

...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

420. laya.ui.VBox_API3.0 [ 50%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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