Cool stuff, just wanted to share some quick tips for the code : - You can remove many indentations and make the code cleaner if in the loot locker functions you replace the lamdas you write by actual functions. This feels really needed on the UploadLevelData function. - Your function FindSaveableAssets call destroy on previously saved gameObjects and then finds new ones. However the objects you called Destroy on will not be gone yet by the time you call find, as said in unity doc "The object obj is destroyed immediately after the current Update loop". - I did not see the download video yet, but for the text file you save, it would probably benefit using a popular text file format like json and a set up with serialiazable struct or class instead of having arrays of the names, positions. You can then have your json formatter take your serializable struct and create the text file for you, meaning if you want more info on each object saved you dont have too add new arrays and write your own custom formatting everytime.
@bestbotreview2 жыл бұрын
Do you know if its possible to use an iap to buy tokens then use lootlocker to save their tokens? Im new to unity / c# Been wanting to use playmaker as much as possible but even when i get playmaker apps i find myself still needing to make script lol
@glitchydemonfairy31712 жыл бұрын
Yes! Finally, I can learn how to make save and load!
@meeperhere2 жыл бұрын
thanks so much, i was waiting for something like this! this will help create my game!
@Woodrina Жыл бұрын
i love your work sooo much
@brotherhero141110 ай бұрын
On the visual studio i cant find "LootlockerSDKManager" It should turn on green right but mine still white, how can i fix that?....Thanks
@brotherhero141110 ай бұрын
2:43
@kimacemarquez50642 жыл бұрын
I try your code but I got error when I tried to put the Getcomponent the FindSavable could not find
@ZygerGFX2 жыл бұрын
Make sure your naming is correct. It's searching for a script so ensure the name is correct and that it exists.
@hckrs_8 ай бұрын
When i try this i get this error: File content is empty, not allowed.
@hckrs_8 ай бұрын
nvm i solved it. I forgot to assign the tag to the gameobjects
@dfgesfg2 жыл бұрын
Hi, I've done the first part of the video and I always get not successful in the console, please help me
@ZygerGFX2 жыл бұрын
if you open up the error in the console what error does it specifically give you? or in the code add this to the debug.log to see what the error is: response.error.
@dfgesfg2 жыл бұрын
@@ZygerGFX in the console I get the not succesfull from the debug.log. I will try your tip later, thanks
@dfgesfg2 жыл бұрын
@@ZygerGFX This is the error from Debug.LogError(response.Error); : Bad Request -- Your request has an error { "success": false, "error": "Platform not enabled: guest", "error_id": "NjIyN2FhYTQ2MDM3ZQ"
@ZygerGFX2 жыл бұрын
@@dfgesfg did you enable the guest platform on the loot locker website ?
@dfgesfg2 жыл бұрын
@@ZygerGFX oh I only enabled android ,now it's fixed. Thank you
@copycat87252 жыл бұрын
Yes.
@coffeebean75022 жыл бұрын
Does it work in a WebGL build?
@ZygerGFX2 жыл бұрын
yep should work. some things may need to be changed though
@Jean-by3wt2 жыл бұрын
p̷r̷o̷m̷o̷s̷m̷ 💃
@AP-iq4sf Жыл бұрын
Hello @ZygerGFX or @Zyger Im making a unit android game, and i do something similar as your code and it work in UNITY_EDITOR, but dont work in UNITY_ANDROID, can u help me with few lines of code, and i send you a email...Thx. 🙂
@xezienstudios Жыл бұрын
You cannot call this method before an active LootLocker session is started, i get this when i click upload level