cs-util-com / cscore

cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
https://cs-util-com.github.io/cscore/
Apache License 2.0
183 stars 31 forks source link

Extend support for the new Unity input system #103

Open cs-util opened 11 months ago

cs-util commented 11 months ago
  1. Create an example scene that implements a new variant of IUnityInputSystem that connects with the new Unity input system.
  2. https://www.youtube.com/watch?v=fzPHAOuo57k shows a few good examples of the old and new methods. From that method it becomes also obvious that a few important methods are most likely still missing in IUnityInputSystem
  3. The purpose of IUnityInputSystem is mainly that internal cscore building blocks like the touch and dragging helpers could use it no matter if the old or new input system is used in the scene. So extending support for the new input system might mainly be useful extension methods or similar and not so much focusing on that IUnityInputSystem singleton since developers should not be forced to use it in their own code of they don't want to
  4. Some existing helper classes such as ScaleCanvasViaZoom don't use the IUnityInputSystem yet, should be easy to fix and a good validation what methods are still missing in the interface