Skip to content

Commit

Permalink
For Unity2020
Browse files Browse the repository at this point in the history
  • Loading branch information
durswd committed Dec 17, 2023
1 parent 2f86a37 commit 058f17f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dev/Plugin/Assets/Effekseer/Scripts/EffekseerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down Expand Up @@ -1142,6 +1146,6 @@ protected override void DisposeGeneratedResource(IntPtr resource)
}
}

#endregion
#endregion
}
}

0 comments on commit 058f17f

Please sign in to comment.