大约有 352 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...确 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? matter中layasprite怎么改变图片大小? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 想让一个2D的图形被鼠标点击时缩放一下,或左右摇...
来源: Laya_社区 发布时间: 20171118
...脚本,在鼠标脚本的点击事件中,isCLick为真时执行逻辑 import clickEvent from "./clickEvent"; onMouseClick() { if(clickEvent.instance.isClick) //单例模式 { } } 2021-01-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20210122
...ya.stage.height,alpha:0},200,Laya.Ease.linearIn); } import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(thi...
来源: Laya_社区 发布时间: 20190121
...是?然后"被引用"是指入口文件选中的脚本里代码import引用的文件? layaAir小孟 • 2024-12-02 20:37 是前者,.bundledef所在的目录。不用那么复杂,简单理解就可以:MyModule.bundledef在哪个目录,就会把该目录所有文件都打包。...
来源: Laya_社区 发布时间: 20241202
...知道那里写错了,总是报这个错,大神帮我看下 package view { import laya.display.Sprite; import laya.renders.Render; import laya.utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = ...
来源: Laya_社区 发布时间: 20171214
... Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onloading extends ui.LoadingUI{ constructor(){ super(); this.loadingBar.changeHandler = new Handler(this, this.onChange); } public changeValue():void...
来源: Laya_社区 发布时间: 20180524
...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-11-01 17:14 浏览: 3930 关注: 2 人
来源: Laya_社区 发布时间: 20181031
...误 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活...
来源: Laya_社区 发布时间: 20180816
...s/music/test/FY-0079.wav"); }); } } import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType { BGM, Effect, Dialogue, } expor...
来源: Laya_社区 发布时间: 20250930
...请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方...
来源: Laya_社区 发布时间: 20181227