Esempio n. 1
0
 static AssetProcessor()
 {
     _assetProcessor      = new AssetProcessor();
     _gameObjectProcessor = new GameObjectAssetProcessor();
     _materialProcessor   = new MaterialAssetProcessor();
     _fontProcessor       = new FontAssetProcessor();
 }
Esempio n. 2
0
        private static List <List <string> > ProcessAsset(string path)
        {
            AssetBuildStrategy strategy = AssetBuildStrategyManager.GetAssetBuildStrategy(path);

            if (strategy != null)
            {
                return(AssetProcessor.ProcessAsset(path, strategy));
            }
            return(new List <List <string> >());
        }