public static int Count()
        {
            if (s_listener == null)
            {
                (s_listener = new AssetImportListener()).SetCallback(() => s_currentLineCount = -1);
            }

            if (s_currentLineCount >= 0)
            {
                return(s_currentLineCount);
            }
            var count = 0;
            var files = DirSearch(Application.dataPath);

            foreach (var path in files)
            {
                if (!path.EndsWith(".cs"))
                {
                    continue;
                }
                count += File.ReadAllText(path).Count(x => x == ';');
            }

            s_currentLineCount = count;

            return(s_currentLineCount);
        }
 public AssetImportListener()
 {
     self = this;
 }