{"version":"1.0","type":"rich","title":"Gist 1973ba4fdee5e215ecb28f0db7f0aadb","description":"This example shows a Unity Editor tool that automatically grants internal access to Shader Graph’s assembly during compilation. It hooks into `CompilationPipeline.assemblyCompilationStarted` to detect when the `Unity.ShaderGraph.Editor` assembly is being compiled, then locates its `AssemblyInfo.cs` file and appends an `InternalsVisibleTo` attribute referencing `BovineLabs.Vision.Editor`. The code uses `File.ReadAllLines`, `File.AppendAllText`, and `File.SetAttributes` to modify the file, while skipping the modification if the attribute already exists.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1973ba4fdee5e215ecb28f0db7f0aadb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}