大约有 410 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0086 秒)
Laya_社区(338) Laya3.0_api(21) laya_api(19) Laya3.0_文档(11) Laya2.0_api(10) Laya2.0_文档(9) Laya_示例(1) Laya2.0_示例(1)
...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
...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
..., 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
...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
...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
...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
...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
...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
...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
...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