In the script reference for this function call it states that it could cause a hiccup while data is being written to the disk. So obviously it would be best to call it within some sort of menu. What I would like to know is whether there is a way to tell when the function has been completed so that the player cannot leave the menu until the function has been performed. Or does the function completes quickly enough to where I could simply put a timer of a few seconds or so?
Thanks in advance -Apples
asked Jul 29 '12 at 10:48 PM
All functions are atomic (well, almost all--there are a few exceptions like LoadLevelAsync). You don't use timers or anything, because the code can't do anything else until the function is done anyway. Otherwise there wouldn't be a hiccup.
answered Jul 30 '12 at 12:56 AM