|
I coded my game using the functions Invoke and InvokeRepeating all over the script in order to control time events. Now I exported the game to webplayer, and simply the invoke functions doesn't work in the webplayer. I thought the Invoke functions couldn't work for webplayer, but then I saw an unity game for webplayer which suposedly used the Invoke functions.
(comments are locked)
|
|
Invoke and InvokeRepeating work fine in webplayers, so the problem is probably elsewhere. I've exported to .exe and works fine, then exported to webplayer and stills not working.
Jan 23 '12 at 08:25 PM
ramonfr
I would guess you're maybe trying to make use of functionality not available in webplayers.
Jan 23 '12 at 08:29 PM
Eric5h5
"use of functionality" ? More info please?
Jan 24 '12 at 10:27 PM
ramonfr
I don't really know, that's just a guess. Some things don't work in the webplayer, like local file access, but you'd get an error message in that specific case.
Jan 24 '12 at 10:35 PM
Eric5h5
It's allright ppl, after I read carefully my code, I realized that there was a logical error. Now the functions are working allright.
Jan 25 '12 at 11:05 AM
ramonfr
(comments are locked)
|
