mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch '3.7-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.7-beta
This commit is contained in:
commit
38f66b8720
@ -1363,9 +1363,9 @@ namespace Spine.Unity.Editor {
|
|||||||
|
|
||||||
bool pmaVertexColors = false;
|
bool pmaVertexColors = false;
|
||||||
bool tintBlack = false;
|
bool tintBlack = false;
|
||||||
foreach (SpineAtlasAsset atlasAsset in skeletonDataAsset.atlasAssets) {
|
foreach (var atlasAsset in skeletonDataAsset.atlasAssets) {
|
||||||
if (!pmaVertexColors) {
|
if (!pmaVertexColors) {
|
||||||
foreach (Material m in atlasAsset.materials) {
|
foreach (Material m in atlasAsset.Materials) {
|
||||||
if (m.shader.name.Contains(PMAShaderQuery)) {
|
if (m.shader.name.Contains(PMAShaderQuery)) {
|
||||||
pmaVertexColors = true;
|
pmaVertexColors = true;
|
||||||
break;
|
break;
|
||||||
@ -1374,7 +1374,7 @@ namespace Spine.Unity.Editor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!tintBlack) {
|
if (!tintBlack) {
|
||||||
foreach (Material m in atlasAsset.materials) {
|
foreach (Material m in atlasAsset.Materials) {
|
||||||
if (m.shader.name.Contains(TintBlackShaderQuery)) {
|
if (m.shader.name.Contains(TintBlackShaderQuery)) {
|
||||||
tintBlack = true;
|
tintBlack = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user