-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
需要获取 当前有效的触控数量(按在屏幕上的手指数) 时使用. 使用ccLog 代替 console.log Update touch-manager.ts 不依赖 ccLog ,直接禁用警告 Update touch-manager.ts 重新用回 ccLog Update input.ts Add some proxy methods of touchManager for getting touche infomation Update cocos/input/input.ts Co-authored-by: PP <[email protected]> Update pal/input/touch-manager.ts Co-authored-by: PP <[email protected]> Update cocos/input/input.ts Co-authored-by: PP <[email protected]> Update cocos/input/input.ts Co-authored-by: PP <[email protected]> Update cocos/input/input.ts Co-authored-by: PP <[email protected]> Update input.ts 直接通过 touchManager._touchMap 获取数据 Update touch-manager.ts 将 _touchMap 暴露出去. 并且移除之前添加的 getTouchCount()方法 Update touch-manager.ts 直接使用 log() Update input.ts Update input.ts 获得 touch对象时, 不克隆. Update touch-manager.ts 新增是否 克隆 touch对象的 参数. 不指定值时, 默认克隆 Update input.ts 微调注释, 避免歧义 Update input.ts 格式化 Update touch-manager.ts 移除多余的赋值操作 Update touch-manager.ts 移除无用的clone Update touch-manager.ts 将 `_cloneTouch()` 设置为public, 暴露给 input 使用. Update input.ts 在获取 touch 对象时, 可通过参数决定是否clone. Update input.ts 更新注释 Update input.ts 优化格式和类型定义. Update input.ts 优化格式 Update input.ts 格式化 Update touch-manager.ts 优化格式 Update touch-manager.ts # Conflicts: # cocos/input/input.ts
- Loading branch information
Showing
2 changed files
with
119 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters