Auto enable instancing.

This commit is contained in:
max 2021-02-10 00:44:31 +01:00
parent 9634fde59e
commit 8a6fae2cfc

View File

@ -173,6 +173,8 @@ namespace TAO.VertexAnimation.Editor
material.DisableKeyword("USE_INTERPOLATION_ON");
}
material.enableInstancing = true;
// Generate Prefab
prefab = AnimationPrefab.Create(path, name, meshes, material, lodSettings.GetTransitionSettings());
}