Skip to content

Commit

Permalink
warn about obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Mar 30, 2023
1 parent e8c3e65 commit d2bfd94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions UnityGLTF/Assets/UnityGLTF/Editor/Scripts/InternalUI.meta

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public static Renderer GetRendererForMaterialEditor(MaterialEditor materialEdito
if (!c) c = target.GetComponent<SkinnedMeshRenderer>();
return c;
}

[Obsolete("Use GLTFMaterialHelper.ValidateMaterialKeywords instead. (UnityUpgradeable) -> UnityGLTF.GLTFMaterialHelper.ValidateMaterialKeywords", false)]
public static void ValidateMaterialKeywords(Material material) {}
}
}

Expand Down

0 comments on commit d2bfd94

Please sign in to comment.