mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-12 18:18:43 +08:00
[unity] Fixed a memory leak in SkeletonPartsRenderer. Closes #2414.
This commit is contained in:
parent
b09e189c64
commit
f9bf739498
@ -85,6 +85,10 @@ namespace Spine.Unity {
|
||||
}
|
||||
}
|
||||
|
||||
void OnDestroy () {
|
||||
if (buffers != null) buffers.Dispose();
|
||||
}
|
||||
|
||||
public void ClearMesh () {
|
||||
LazyIntialize();
|
||||
meshFilter.sharedMesh = null;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core.",
|
||||
"version": "4.1.30",
|
||||
"version": "4.1.31",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user