Skip to content

Commit

Permalink
Hot-fix for 4.7.0 (#300)
Browse files Browse the repository at this point in the history
Disable ShaderGUI for build compilation error
  • Loading branch information
hyunseok-yang authored Jul 18, 2024
2 parents a85fd8b + 14bdb82 commit c3d5610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Resources/Shader/GeometryGrassGUI.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using UnityEngine;
using UnityEditor;

#if UNITY_EDITOR
public class GeometryGrassGUI : ShaderGUI
{
public override void OnGUI(MaterialEditor editor, MaterialProperty[] properties)
Expand Down Expand Up @@ -155,3 +156,4 @@ private void SetKeywordValue(string keyword, bool state, Material target)
}
}
}
#endif

0 comments on commit c3d5610

Please sign in to comment.