Skip to content

Instantly share code, notes, and snippets.

@alexzzzz
Created February 29, 2016 22:08
Show Gist options
  • Select an option

  • Save alexzzzz/fb463ed192bfab3b44e7 to your computer and use it in GitHub Desktop.

Select an option

Save alexzzzz/fb463ed192bfab3b44e7 to your computer and use it in GitHub Desktop.
using SyntaxTree.VisualStudio.Unity.Bridge;
using UnityEditor;
[InitializeOnLoad]
public class ReferenceExterminator
{
static ReferenceExterminator()
{
ProjectFilesGenerator.ProjectFileGeneration += OnProjectFileGeneration;
}
private static string OnProjectFileGeneration(string name, string content)
{
return content.Replace("<Reference Include=\"Boo.Lang\" />", string.Empty)
.Replace("<Reference Include=\"UnityScript.Lang\" />", string.Empty);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment