Prove released generic Aetheria client
This commit is contained in:
parent
edaf3b1e3b
commit
8d2feccbe2
7 changed files with 40 additions and 20 deletions
|
|
@ -28,7 +28,9 @@ public static class GenericEveUnityRenderPipeline
|
|||
feature.name = "Eve Unity World Effects";
|
||||
AssetDatabase.AddObjectToAsset(feature, renderer);
|
||||
renderer.rendererFeatures.Add(feature);
|
||||
EditorUtility.SetDirty(feature);
|
||||
}
|
||||
renderer.SetDirty();
|
||||
EditorUtility.SetDirty(renderer);
|
||||
|
||||
var pipeline = AssetDatabase.LoadAssetAtPath<UniversalRenderPipelineAsset>(PipelinePath);
|
||||
|
|
@ -41,6 +43,8 @@ public static class GenericEveUnityRenderPipeline
|
|||
GraphicsSettings.defaultRenderPipeline = pipeline;
|
||||
QualitySettings.renderPipeline = pipeline;
|
||||
EditorUtility.SetDirty(pipeline);
|
||||
AssetDatabase.SaveAssetIfDirty(renderer);
|
||||
AssetDatabase.SaveAssetIfDirty(pipeline);
|
||||
AssetDatabase.SaveAssets();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue