mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +08:00
[unity] Fixed Leftover AnimationState applied when calling Initialize(true). Closes #2475.
This commit is contained in:
parent
795fb92080
commit
b9b6e0d352
@ -184,6 +184,7 @@ namespace Spine.Unity {
|
||||
if (BuildUtilities.IsInSkeletonAssetBuildPreProcessing)
|
||||
return;
|
||||
#endif
|
||||
state = null; // prevent applying leftover AnimationState
|
||||
base.Initialize(overwrite, quiet);
|
||||
|
||||
if (!valid)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user