Exemplo n.º 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());
        }
Exemplo n.º 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());
        }