public static ISocialServices GetSocialServices() { if (mInstance == null) { #if UNITY_ANDROID mInstance = new SocialAndroid(); #else mInstance = new SocialMacPc(); #endif } return(mInstance); }
private GameManager() { socialServices = FactorySocial.GetSocialServices(); socialServices.LeaderboardSetDefaultKeyForUI(LEADERBOARD_ID_LEVEL); playerData = PlayerData.LoadFromDisk(); }