vad710 / UnityEngineAnalyzer

Roslyn Analyzer for Unity3D
MIT License
273 stars 43 forks source link

Input Analyzer: :touches & :accelerationEvents #13

Open Kasperki opened 7 years ago

Kasperki commented 7 years ago

Input.touces & Input.accelerationEvents allocate temporare variables.

Use Input.GetTouches & Input.touchCount instead. Same for accelerations: GetAccelerationEvent & accelerationEventCount

PS.

We should list whatever comes to mind. So these can be then implemented by people.

vad710 commented 7 years ago

I was gonna use the Projects features to keep track, but it seems not many people use it and prefer issues over it. Here's the list I had going at one time: https://github.com/vad710/UnityEngineAnalyzer/projects/1

Kasperki commented 7 years ago

@vad710 The projects is a good idea, but I think only you have write access to that. I can't comment to any of the cards. I don't know how it is supposed to work, but I think Issues works better for now.

vad710 commented 7 years ago

I think issues are better as well