예제 #1
0
        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());
        }
예제 #2
0
        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());
        }