Exemplo n.º 1
0
 public void ShareTheLevel()
 {
     // first get the amount of created levels by this user. The number is then used for the SharedLevelAmountKey of the saving level
     _afterGettingLevelAmountDelegate = OnShare;
     // Get shared level amount
     PlayFabController.instance.GetUserReadOnlyData(PlayFabController.instance.currentPlayerPlayfabID, SharedLevelAmountKey, OnFinishedGettingLevelAmount);
 }
Exemplo n.º 2
0
 public void LoadLastSharedLevel()
 {
     _afterGettingLevelAmountDelegate = OnLoad;
     // Get shared level amount
     PlayFabController.instance.GetUserReadOnlyData(PlayFabController.instance.currentPlayerPlayfabID, SharedLevelAmountKey, OnFinishedGettingLevelAmount);
 }