大约有 45 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
... dialog:Image = new Image(picAy[i]); dialog.on(Event.LOADED,this,onLoaded) <em>privateem> function onLoaded(e:*=null):void{ trace(2) } 这代码有什么问题?不调度onLoaded函数,图片显示正常 2016-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20161027
...oid { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } <em>privateem> onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,Laya.stage.mouseY),this.ray) if(this.physics....
来源: Laya_社区 发布时间: 20190621
...ya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @<em>privateem> */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: La...
来源: Laya3.0_文档 发布时间: 20241014
...3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... <em>privateem> model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sp...
来源: Laya3.0_文档 发布时间: 20241014
...停,销毁,清理对象池 export class Particle3D extends Sprite3D { <em>privateem> _isInited: boolean = false; <em>privateem> _filePath: string = null; <em>privateem> _particle: Laya.Sprite = null; <em>privateem> _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; <em>privateem> _shurikenParticleSystem: Array<ShurikenP...
来源: Laya3.0_文档 发布时间: 20241014