spawning next player when charactergenerator has completed.

Hi,

I’m spawning the remote players when i enter a room in smartfox and i want to use the character generator from the character customization demo to create my remote avatars. The problem is that my players get spawned to fast. I tried a StartCoroutine() but when debugging that never gets fired.
Anyone have a tip how maybe i can wait for the generator to finish and then spawn the next character ?
Thanks.

Hi,

Did you look in the ‘VirtualWorldExample’ to see how it’s managed ?
a character is spawned every 3 second, to let the time to the generator to finish the job.

I think a RemoteCharacterManager with a basic behavior like that could be a good start

Then, a flag in generate(), to false at the beginning and true at the end (exactly where startTime is used), and the same trick used for ConfigReady should do the trick for a more accurate timing.

Not tested, but hope it help.