mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-15 12:29:49 +07:00
Fix: preview in Unity 2021
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
###### Version 1.3.18
|
###### Version 1.3.18
|
||||||
* Fix frameCount working before Start
|
* Fix frameCount working before Start
|
||||||
|
* Fix preview in Unity 2021
|
||||||
|
|
||||||
###### Version 1.3.17
|
###### Version 1.3.17
|
||||||
* Fix 2019 warnings
|
* Fix 2019 warnings
|
||||||
|
|||||||
@@ -135,6 +135,9 @@ namespace FTEditor.Editors {
|
|||||||
public void Shutdown() {
|
public void Shutdown() {
|
||||||
_matPropBlock.Clear();
|
_matPropBlock.Clear();
|
||||||
_previewUtils.Cleanup();
|
_previewUtils.Cleanup();
|
||||||
|
#if UNITY_2021_1_OR_NEWER
|
||||||
|
Cleanup();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user