mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[unity] Minor: removed unnecessary else statement.
This commit is contained in:
parent
135d9819a7
commit
9c0c1ce176
@ -262,8 +262,7 @@ namespace Spine.Unity {
|
||||
if (lastRendererMaterial != material) {
|
||||
if (lastRendererMaterial != null)
|
||||
return true;
|
||||
else
|
||||
lastRendererMaterial = material;
|
||||
lastRendererMaterial = material;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user