Skip to content

Commit

Permalink
Fix UI Material Can't Show GameObject BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben committed Jun 18, 2020
1 parent 0fc4268 commit 3c347e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ResourceChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,10 @@ private TextureDetails GetTextureDetail(Texture tTexture, Material tMaterial, Ma
{
if (!tTextureDetails.FoundInRenderers.Contains(renderer)) tTextureDetails.FoundInRenderers.Add(renderer);
}
foreach (Graphic graphic in tMaterialDetails.FoundInGraphics)
{
if (!tTextureDetails.FoundInGraphics.Contains(graphic)) tTextureDetails.FoundInGraphics.Add(graphic);
}
return tTextureDetails;
}

Expand Down

0 comments on commit 3c347e4

Please sign in to comment.