大约有 384 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0045 秒)
....Script{ constructor(){ super(); } onAwake(){ Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); } } 2020-05-16 添...
来源: Laya_社区 发布时间: 20200516
...operty } = Laya; @regClass() export class StartScene extends Laya.Script { onAwake(): void { Laya.timer.once(1000, this, () => { Laya.loader.loadPackage("common", "http://127.0.0.1:2840", (p) => { console.log("common", p); }) }); } } 2024-11-04 0 0 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20241101
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSp...
来源: Laya3.0_api 发布时间: 20231115
...过的UI组件,直接使用this.即可使用。例如下面的代码: onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=>{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) U...
来源: Laya3.0_文档 发布时间: 20241014
...{ console.log("播放完成2"); } onAwake(){ this.setup(); } } 附件 : --> Desktop.rar 2020-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20200925
...ted Methods MethodDefined By _createJoint():void[override] RopeJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty DetailcollideConnectedpropertypublic var collideConnected:Boolean = false[首次设置有效]两个刚体...
来源: Laya2.0_api 发布时间: 20190513
...ted Methods MethodDefined By _createJoint():void[override] WeldJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty Detailanchorpropertypublic var anchor:Array[首次设置有效]关节的链接点,是相对于自身刚...
来源: Laya2.0_api 发布时间: 20190513
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLi...
来源: Laya3.0_api 发布时间: 20231115
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerO...
来源: Laya3.0_api 发布时间: 20231115
...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLig...
来源: Laya3.0_api 发布时间: 20231115