I was wondering, could I use normal code with playfab code?
I know, that makes no sense, so I'll provide an example which should make it a lot more clear (Im quite tired right now but I wanted to ask this before I forgot)
So lets say I wanted to make something have a 1 in 10 chance of granting the user 1 coin. Could I do this (within Unity I suppose)
if (RandomNumber1to10 = 1){
Playfab.grantcoin (obviously not the actual code, but you get the idea)
}
Hopefully you can help me out with this, since Im still new to learning playfab.
Cheers
Tom
P.s. I hate to ask 2 questions that arent related in one thread, but in case you know, do catalog purchases and inventories and stuff like that cache on the users device and allow them to use the game offline/whilst not logged it?