mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2025-06-12 22:39:56 +02:00
Fix texture naming error.
Fix texture naming error. FixedString32 -> FixedString64.
This commit is contained in:
@ -79,6 +79,18 @@ namespace TAO.VertexAnimation.Editor
|
||||
}
|
||||
}
|
||||
|
||||
private void OnValidate()
|
||||
{
|
||||
if (materialShader == null)
|
||||
{
|
||||
materialShader = Shader.Find("VA_VertexAnimationBase");
|
||||
if (materialShader == null)
|
||||
{
|
||||
materialShader = Shader.Find("Shader Graphs/VA_VertexAnimationBase");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Bake()
|
||||
{
|
||||
var target = Instantiate(model);
|
||||
|
Reference in New Issue
Block a user