mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fixed a crash related to importing and stencil mode auto-updater.
This commit is contained in:
parent
f7861e49d1
commit
04077eeda5
@ -480,7 +480,7 @@ namespace Spine.Unity {
|
|||||||
private void AssignSpriteMaskMaterials()
|
private void AssignSpriteMaskMaterials()
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
if (!Application.isPlaying) {
|
if (!Application.isPlaying && !UnityEditor.EditorApplication.isUpdating) {
|
||||||
EditorFixStencilCompParameters();
|
EditorFixStencilCompParameters();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user