public static void Generate() { var assetsDirectory = uSquidUtility.CleanPath(Application.dataPath); Debug.Log(assetsDirectory); var assetTreeBuilder = new AssetTreeBuilder(); assetTreeBuilder.AppendUnityProjectAssets(staticClassName: StaticClassName); File.WriteAllText(string.Format("{0}/{1}", Application.dataPath, StaticClassLocalPath), assetTreeBuilder.ToString()); }