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

大约有 390 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0077 秒)

351. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 44%]

...rializeField] private Transform guard; // Use this for initialization void Start () { pivot.transform.rotation = Quaternion.Euler(0, 0, -20); } // Update is called once per frame void Update () { if (Input.GetKey(KeyCode.A)) { guard.transform.position = new Vector3(guard.transform.position.x + 0.1f,...

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

352. mac laya 2.5beta ts示例工程 tsconfig.json tartget 改成es5 编译报错 [ 44%]

...09:54] Using gulpfile ~/projects/mylaya11/Tank/.laya/compile.js [09:09:54] Starting 'compile'... { Error: /Users/xxxxx/projects/mylaya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAir...

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

353. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 43%]

..., 0));             })); 但是编译时报如下错误: [23:43:30] Starting 'compile'... { Error: D:/Workspace/LayaTest/demo010/src/script/GameUI.ts(50,17): semantic error TS2339: [31mProperty 'transform' does not exist on type 'Node'.[39m at error (D:\Software\Develop\LayaAirIDE\resources\a...

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

354. laya.ani.swf.MovieClip_API3.0 [ 43%]

...height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new MovieClip(parentMovieClip?: MovieClip): MovieClip Overrides Sprite.constructor Defined in laya/ani/swf/MovieClip.ts...

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

355. laya.display.AnimationBase_API3.0 [ 43%]

...height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new AnimationBase(): AnimationBase Overrides Sprite.constructor Defined in laya/display/AnimationBase.ts:51 可以继...

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

356. laya.display.FrameAnimation_API3.0 [ 42%]

...height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new FrameAnimation(): FrameAnimation Overrides AnimationBase.constructor Defined in laya/display/FrameAnimation.ts:31 R...

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

357. laya.spine.SpineSkeleton_API3.0 [ 42%]

...t_transform set_visible set_width showSkinByIndex showSkinByName size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new SpineSkeleton(): SpineSkeleton Overrides Sprite.constructor Defined in laya/spine/SpineSkeleton.ts:69 Returns Spine...

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

358. laya.display.EffectAnimation_API3.0 [ 42%]

...height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new EffectAnimation(): EffectAnimation Inherited from FrameAnimation.constructor Overrides AnimationBase.constructor De...

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

359. laya.ani.bone.Skeleton_API3.0 [ 42%]

...kinByIndex showSkinByName showSlotSkinByIndex showSlotSkinByName size skew startDrag stop stopDrag timerLoop timerOnce toParentPoint updateZOrder fromImage Constructors constructor new Skeleton(aniMode?: number): Skeleton Overrides Sprite.constructor Defined in laya/ani/bone/Skeleton.ts:121 创建...

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

360. 音乐播放来回切换导致内存泄露 [ 42%]

...时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 播放声音出错,求指教 求教: soundManager如何停止正在播放的背景...

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