- Home /
Duplicate Question of http://answers.unity3d.com/questions/198242/what-is-sendmouseevents-and-why-is-it-allocating-m.html
SendMouseEvents.DoSendMouseEvents() allocates garbage every frame
Hi, I'm trying to optimize my game as much as possible now and I have been able to remove all GC allocs as reported by the profiler, except for one last object. The SendMouseEvents seems to alloc up to 64 B of memory each frame. Since my game is targed for android devices. Is there a way to disable MouseEvents? Or somehow not get Garbage per frame because of SendMouseEvents.DoSendMouseEvents(). Thanks
Answer by Nidre · Jan 14, 2014 at 11:59 AM
I am having the exact problem. Did you found any solution to that ?
Mine is allocating 136B every frame which is quite high...
Follow this Question
Related Questions
How to allow clicking of 2 buttons at once in Android 0 Answers
Android to unity INPUT 0 Answers
A node in a childnode? 1 Answer
Android Action Button 2 Answers
Android Input 1 Answer