大约有 419 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(407) Laya3.0_文档(4) Laya2.0_文档(3) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...0, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.alignV = Stage.ALIGN_M...
来源: Laya2.0_示例 发布时间: 20251130
... walk = 'walk', //走路 power = 'power',//举高高 fire = 'fire',//扔 hit = 'hit',//被举起 biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 } export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5; public sprite:Laya.Sprite3D = null; ...
来源: Laya_社区 发布时间: 20191026
...nation-out"; this.guideContainer.addChild(this.interactionArea); this.guideHitArea = new Laya.HitArea(); this.guideHitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); this.guideContainer.hitArea = this.guideHitArea; this.guideContainer.mouseEnabled = true; this.tipContainer =...
来源: Laya_社区 发布时间: 20171222
...e: net::ERR_FILE_NOT_FOUND [file:///F:/GitHub/TS_Laya/TS_MyLaya/bin/sounds/hit.wav] 测试代码: import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler...
来源: Laya_社区 发布时间: 20190421
...n area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The hit area takes precedence over width and height of node as the non-penetrable mouse collision area. * Note that for UI object nodes with a set skin property, once a skin texture resource is...
来源: Laya_社区 发布时间: 20250825
龙骨动画-拖拽-点击区域HitArea设置问题 问题: 通过 rectangle = skeleton.getBounds() 获取动画所在的矩阵,然后设置skeleton的 hitArea为(-width, -height, width, height). 但是只有点击动画的右下角才能拖拽。期望: 龙骨动画的任意位置...
来源: Laya_社区 发布时间: 20171114
...法正常作用问题-解决办法 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2017-09-08 16:40 浏览: 745 关注: 2 人
来源: Laya_社区 发布时间: 20170908
...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2021-01-04 15:20 浏览: 79 关注: 1 人
来源: Laya_社区 发布时间: 20210104
...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2021-01-04 15:18 浏览: 266 关注: 1 人
来源: Laya_社区 发布时间: 20210104
...vo快游戏,无法生成Rpk问题 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2020-12-28 10:12 浏览: 263 关注: 2 人
来源: Laya_社区 发布时间: 20201223