コード例 #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);
 }
コード例 #2
0
 public void LoadLastSharedLevel()
 {
     _afterGettingLevelAmountDelegate = OnLoad;
     // Get shared level amount
     PlayFabController.instance.GetUserReadOnlyData(PlayFabController.instance.currentPlayerPlayfabID, SharedLevelAmountKey, OnFinishedGettingLevelAmount);
 }