mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 02:58:44 +08:00
[Unity] Fix flickering in certain cases. http://esotericsoftware.com/forum/Flickering-and-a-solution-for-it-5299 http://esotericsoftware.com/forum/Weird-flicker-between-some-of-the-animations-5577 https://github.com/EsotericSoftware/spine-runtimes/issues/494 Also included: Moved attachment and flip array checks outside of extra loops in CheckIfMustUpdateMeshStructure to prevent O(2n) behavior. Renamed some identifiers. "temp" is replaced with "working". The analogy is human brain's "working memory". Added some cached references within the method's stack (where their members are frequently accessed). Added comments for easy update, in preparation for incoming changes in Spine v3.