大约有 113 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...过,通过Url获取具体脚本代码 if (moduleJs) { __JS__("var script = document.createElement('script');") __JS__(" script.type = 'text/javascript';") __JS__(" script.text = moduleJs;") __JS__(" document.body.appendChild(script);") } chunjine • 2017-03...
来源: Laya_社区 发布时间: 20161020
...an: 3.616943359375 ms add main_scene.ls add ui/ui.atlascfg add ../src/BuildScript.ts add ../src/Main.ts add ../src/storage/StorageProxy.ts add ~/internal/blueprint.bin add ~/internal/Box.lm add ~/internal/Capsule.lm add ~/internal/Cone.lm add ~/internal/Cylinder.lm add ~/internal/DefaultMaterial.lma...
来源: Laya_社区 发布时间: 20250102
...mboBox: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ComboBox }) public combobox: Laya.ComboBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.comb...
来源: Laya3.0_文档 发布时间: 20251010
...ass, property } = Laya; @regClass() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执...
来源: Laya3.0_文档 发布时间: 20251010
...ollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.h...
来源: Laya3.0_文档 发布时间: 20251010
...ollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.v...
来源: Laya3.0_文档 发布时间: 20251010
... this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script); //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) { var _this = this; ObjectRotate.__super.prototype._initialize.call(this,owner); //在this(调...
来源: Laya_社区 发布时间: 20170810
...制Tab: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.tab.pos(200, 200); ...
来源: Laya3.0_文档 发布时间: 20251010
...方便提供下示例吗?参考的官方哪个示例?脚本一般写在script文件夹下 2022-08-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****433 相关问题 两个对象new了一个相同的对象,调用第一个的...
来源: Laya_社区 发布时间: 20220815
...的多个动画,怎么分别调用?如图 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 编辑器选择分离模式生成TS代码...
来源: Laya_社区 发布时间: 20170116