releaseDirKey 弹起方向键
releaseDirKey
类型: MethodDeclaration
定义位置: ui.ts
描述
弹起方向键
参数 dirKey
: 当前选中按钮的相对方向
参数
参数名 | 类型 | 描述 | 默认值 |
---|---|---|---|
dirKey | ButtonRelativeDirection | - | - |
返回值
类型: void
源代码
位置: 第 654 行
public releaseDirKey(dirKey: ButtonRelativeDirection): void {
if (this.dirKey === dirKey) {
this.dirKey = ''
this.keyTurbo = false
this.keyTurboElapsed = 0
}
}
文档生成时间:2025/7/7 12:07:07