mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-22 15:45:35 +01:00
54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
using UnityEngine;
|
|
|
|
public interface IPlatform
|
|
{
|
|
public string AchievementKey { get; }
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class PC : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class PS4 : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class PS5 : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class XBOX : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Quest : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class SteamDeck : IPlatform
|
|
{
|
|
public string AchievementKey => achievementKey;
|
|
[SerializeField]
|
|
private string achievementKey;
|
|
} |