Skip to content

Commit

Permalink
Set system name attribute properly for PS5, and disambiguate Xbox typ…
Browse files Browse the repository at this point in the history
…es (#234)
  • Loading branch information
hymerman authored Jan 13, 2025
1 parent fb36422 commit c62bf22
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Runtime/Common/SystemHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ internal static string Name()
return "ps3";
case RuntimePlatform.PS4:
return "ps4";
case RuntimePlatform.PS5:
return "ps5";
case RuntimePlatform.TizenPlayer:
case RuntimePlatform.SamsungTVPlayer:
return "Samsung TV";
Expand All @@ -101,8 +103,12 @@ internal static string Name()
case RuntimePlatform.WSAPlayerX86:
return "Windows";
case RuntimePlatform.XBOX360:
return "Xbox 360";
case RuntimePlatform.XboxOne:
return "Xbox";
case RuntimePlatform.GameCoreXboxOne:
return "Xbox One";
case RuntimePlatform.GameCoreXboxSeries:
return "Xbox Series";
default:
return Application.platform.ToString();
}
Expand Down

0 comments on commit c62bf22

Please sign in to comment.