37 lines
843 B
C#
37 lines
843 B
C#
using System;
|
|
|
|
namespace UnityEngine.SocialPlatforms
|
|
{
|
|
// Token: 0x02000386 RID: 902
|
|
internal static class ActivePlatform
|
|
{
|
|
// Token: 0x17000C6D RID: 3181
|
|
// (get) Token: 0x0600360B RID: 13835 RVA: 0x0005B17C File Offset: 0x0005937C
|
|
// (set) Token: 0x0600360C RID: 13836 RVA: 0x0005B1AC File Offset: 0x000593AC
|
|
internal static ISocialPlatform Instance
|
|
{
|
|
get
|
|
{
|
|
if (ActivePlatform._active == null)
|
|
{
|
|
ActivePlatform._active = ActivePlatform.SelectSocialPlatform();
|
|
}
|
|
return ActivePlatform._active;
|
|
}
|
|
set
|
|
{
|
|
ActivePlatform._active = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600360D RID: 13837 RVA: 0x0005B1B8 File Offset: 0x000593B8
|
|
private static ISocialPlatform SelectSocialPlatform()
|
|
{
|
|
return new Local();
|
|
}
|
|
|
|
// Token: 0x04000C24 RID: 3108
|
|
private static ISocialPlatform _active;
|
|
}
|
|
}
|