Created
February 29, 2016 22:08
-
-
Save alexzzzz/fb463ed192bfab3b44e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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