Пример #1
0
 public void SaveFBData()
 {
     if (FBPlayers != null)
     {
         FacebookDataHandler.Instance().Save(this);
     }
 }
Пример #2
0
 public void InitializeFB()
 {
     if (!base.Inited)
     {
         FacebookDataHandler.Instance().Load(this);
         if (!FB.IsInitialized)
         {
             FB.Init(OnInitComplete, OnHideUnity);
         }
         else
         {
             FB.ActivateApp();
         }
         base.Inited = true;
     }
 }