mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
Merge pull request #2570 from saturday06/replace-obsoleted-renderPipelineAsset-with-defaultRenderPipeline
Unity6でGraphicsSettings.renderPipelineAssetがObsolete警告を出すのに対応
This commit is contained in:
@@ -28,7 +28,11 @@ namespace VRM.DevOnly
|
||||
|
||||
public static void SwitchBuiltinPipeline()
|
||||
{
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
UnityEngine.Rendering.GraphicsSettings.defaultRenderPipeline = null;
|
||||
#else
|
||||
UnityEngine.Rendering.GraphicsSettings.renderPipelineAsset = null;
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void BuildWebGL_SimpleViewer()
|
||||
|
||||
Reference in New Issue
Block a user