From 058f17f1ee7b06276ec9070578334bb2d72201ab Mon Sep 17 00:00:00 2001 From: durswd Date: Sun, 17 Dec 2023 14:09:15 +0900 Subject: [PATCH] For Unity2020 --- Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs b/Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs index a881231..8ebc5c6 100644 --- a/Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs +++ b/Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs @@ -373,7 +373,9 @@ public void InitPlugin() case GraphicsDeviceType.Vulkan: case GraphicsDeviceType.XboxOne: case GraphicsDeviceType.XboxOneD3D12: +#if UNITY_2021_1_OR_NEWER case GraphicsDeviceType.PlayStation5NGGC: +#endif if (RendererType == EffekseerRendererType.Native) { RendererType = EffekseerRendererType.Unity; @@ -392,7 +394,9 @@ public void InitPlugin() case GraphicsDeviceType.Metal: case GraphicsDeviceType.PlayStation4: case GraphicsDeviceType.PlayStation5: +#if UNITY_2021_1_OR_NEWER case GraphicsDeviceType.PlayStation5NGGC: +#endif #if UNITY_2017_4_OR_NEWER case GraphicsDeviceType.Switch: #endif @@ -1142,6 +1146,6 @@ protected override void DisposeGeneratedResource(IntPtr resource) } } - #endregion +#endregion } }