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

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

1951. Tween 缓动过程有触发回调函数么 [ 47%]

...动回收到对象池。 * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween", Tween)._create...

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

1952. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 47%]

....create(this, onAssetsLoaded), null, Loader.JSON);           public function onAssetsLoaded(settings:ParticleSetting):void         {             sp = new Particle2D(settings);             sp.emitter.start();                  sp.play();             ...

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

1953. laya.effect.EffectBase_API3.0 [ 46%]

...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface

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

1954. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 46%]

...eBoundsCell sciContainsBox sciIntersectsBox Legend Object literal Variable Function Type alias Class Class with type parameter Method Inherited constructor Inherited method Inherited accessor Enumeration Interface

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

1955. laya.ui.HScrollBar_API3.0 [ 46%]

...ublic class HScrollBar_Example { private var hScrollBar:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "re...

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

1956. laya.ui.VScrollBar_API3.0 [ 46%]

...ublic class VScrollBar_Example { private var vScrollBar:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscrol...

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

1957. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 46%]

...oGradient createByRandomTwoGradientSeparate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

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

1958. TS setExternalLinkEx問題 [ 46%]

...Touch(false); var ctx = document.createElement('canvas').getContext('2d'); function render(){ ctx.fillStyle='#99d9ea'; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(render); } window.requestAnimationFrame(render); document.addEventListener('touchstart',()=>{...

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

1959. 在UI类里调用启动类的静态函数失败了 [ 46%]

...在这个类里调用GameMain.aaa();提示TypeError: GameMain.aaa is not a function 问题是我调用其他类的静态函数就没问题,请问这是什么?   /**Created by the LayaAirIDE*/ module view { export class GameInfo extends ui.GameInfoUI { constructor() { super(); this.kaishi_btn.on...

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

1960. 3d中 缓动往一个点转向并移动的问题 [ 46%]

...               value: z + 2, update: new Laya.Handler(this, function () {                     thiz.mCamera.transform.position = (new Laya.Vector3(2, 2, countdown.value));                     //移动灯光位置                 ...

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