/// <summary>
 /// 初始化用户数据 如要调用相关Stats方法 必须初始化  不过已在SteamManager里初始化过
 /// </summary>
 public static void UserStatsInit()
 {
     if (SteamManager.Initialized)
     {
         SteamUserStatsImpl.InitUserStats();
     }
 }
Exemple #2
0
 /// <summary>
 /// 解锁用户成就
 /// </summary>
 public void UnLockAchievement(long achId)
 {
     if (!SteamManager.Initialized)
     {
         return;
     }
     if (steamUserStats == null)
     {
         steamUserStats = new SteamUserStatsImpl();
         steamUserStats.InitUserStats();
     }
     steamUserStats.UserCompleteAchievement(achId + "");
 }
Exemple #3
0
 private void Start()
 {
     steamUserStats = new SteamUserStatsImpl();
     steamUserStats.InitUserStats();
 }
Exemple #4
0
 public void Start()
 {
     SteamUserStatsImpl.InitUserStats();
 }