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

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

2721. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 45%]

...ick_effectUI.uiView={"type":"View","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5...

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

2722. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...lass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次...

来源: Laya3.0_文档 发布时间: 20251010

2723. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...regClass() export class DayNight extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.DirectionLight2D; private dayTime: number = 0; private dayDuration: number = 24; // 一个完整周期的秒数 private displayText: Laya.Text; // 文本显示当前时间 onAwake(): void { thi...

来源: Laya3.0_文档 发布时间: 20251010

2724. LayaAir下分离模式的使用 [ 44%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getCompo...

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

2725. laya.d3.core.light.PointLight_API3.0 [ 44%]

...s PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWo...

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

2726. 多行输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

... export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...

来源: Laya3.0_文档 发布时间: 20251010

2727. laya.d3.core.light.SpotLight_API3.0 [ 44%]

...ass SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWor...

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

2728. [LayaAirIDE3]咋么实现鼠标点击角色移动 [ 44%]

... export default class iceMonster extends Laya.Script { declare owner: Laya.Sprite; /** 用于兜底的 Animator2D(可选) */ private _animator: Laya.Animator2D; /** 承载 .mc 的动画播放器 */ private iceMonsterAni: Laya.Animation; /** 资源前缀 */ private readonly ANIMATION_PATH: string...

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

2729. oppo小游戏修改逻辑发布不生效,且包体包含资源太大 [ 44%]

...片 执行代码说加载不出来资源 这个是怎么回事? new Laya.Sprite();绘制图形以后,怎么删除释放资源? LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 用Mac下Unity5.6.2f1导出的模...

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

2730. 使用滤镜报错 [ 44%]

...FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:1849:21) at RenderSprite3D.__proto._graphics (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:5125:41) at RenderSprite3D.Filter._filter [as _fun] (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:20771:17...

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