This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Tags: SnowflakeTQ/engine
Tags
Provide global touches and count getter in InputManager (cocos#7890) * 解决 ISSUE cocos#7889 里提到的问题 增加了 getGlobalTouchCount() 和 getGlobalTouches() , 用来获取 此时此刻 还按在屏幕上的 "手指" 数量 和 相应的对象. * touchCancel 时也要清理 _touchesCache. * 添加 cleanTimeoutGlobalTouches 方法 * fix typo * Synchronize _touchesCache and _touches * Fix _touchesIntegerDict usage * Fix touchesCache removal in getSetOfTouchesEndOrCancel * Update CCInputManager.js * Update CCInputManager.js * Update CCInputManager.js * 将 _maxTouches 的默认值改为 10 * Small improvements on docs * '修复缺失 逗号 的bug.' Co-authored-by: pandamicro <[email protected]>
PreviousNext