OnApplicationQuit web player save data using WWW

How can I save game data to the game server using WWW before web player closes? OnApplicationQuit doesn’t want to work as co-routine.

Don’t yield. You don’t necessary care about blocking the user i assume since they are leaving. yield returns the control to the caller and invokes whatever happens after. Again, you don’t care right?

You can also check/loop over until IsDone on the www object is true.