This commit is contained in:
CroakFang
2023-02-26 19:51:28 +08:00
parent 1e8fb2076c
commit e23599a80d
4 changed files with 7 additions and 6 deletions
@@ -34,8 +34,8 @@ namespace Gallop
if (settingData.Type == EffectType.UVScrollEmissive)
{
var p = settingData.ParamArray;
mat.SetVector("_UVEmissiveScroll", new Vector4(p[0], p[1], p[2],p[3]));
mat.SetVector("_UVEmissiveRange", new Vector4(p[4], p[5], p[6], p[7]));
mat.SetVector("_UVEmissiveRange", new Vector4(p[0], p[1], p[2],p[3]));
//mat.SetVector("_UVEmissiveScroll", new Vector4(p[4], p[5], p[6], p[7]));
}
}
}
@@ -593,10 +593,7 @@ namespace Gallop
if (morph == null)
{
GetMorphByType(morphs, data.BaseReplaceFaceType).weight = 1;
Debug.LogError(morph.tag);
}
else
Debug.LogError(morph.tag);
}
foreach (var arr in data.DataArray)