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

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

371. 父物体旋转会导致子物体的世界坐标系不正确?(附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

372. 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

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

..., 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

374. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 43%]

...t A boolean indicating whether to draw the render rectangle. When true, it starts drawing from (0,0) of the render texture and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture will be ...

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

375. 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

376. 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

377. 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

378. 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

379. 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

380. 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