Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Fix error in 2021+
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-age authored Jun 15, 2022
1 parent eacd248 commit 345e17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Base/Icons/ObjectIconUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AV.Hierarchy
{
internal static class ObjectIconUtil
{
private static MethodInfo getIconForObject = typeof(EditorGUIUtility).GetMethod("GetIconForObject", BindingFlags.NonPublic | BindingFlags.Static);
private static MethodInfo getIconForObject = typeof(EditorGUIUtility).GetMethod("GetIconForObject", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);

public static Texture2D GetIconForObject(Object obj)
{
Expand Down

0 comments on commit 345e17e

Please sign in to comment.