public void OnPostprocessSpeedTree(GameObject speedTree)
 {
     context.DependsOnCustomDependency("srp/default-pipeline");
     if (RenderPipelineManager.currentPipeline is HDRenderPipeline)
     {
         SpeedTreeImporter stImporter = assetImporter as SpeedTreeImporter;
         SpeedTree8MaterialUpgrader.PostprocessSpeedTree8Materials(speedTree, stImporter, HDSpeedTree8MaterialUpgrader.HDSpeedTree8MaterialFinalizer);
     }
 }
Exemplo n.º 2
0
        public void OnPostprocessSpeedTree(GameObject speedtree)
        {
            SpeedTreeImporter stImporter = assetImporter as SpeedTreeImporter;

            SpeedTree8MaterialUpgrader.PostprocessSpeedTree8Materials(speedtree, stImporter, HDSpeedTree8MaterialUpgrader.HDSpeedTree8MaterialFinalizer);
        }