Oct 24, 2013 10:55 AM
(This post was last modified: Oct 24, 2013 11:01 AM by neiqhtworks.)
Is there an alternative to this?
I'm making a game where you're battling an ai and everything works how it should but the ai attacks as soon as you click your spell (it's turn based), is there a way to do something like thread.sleep to pause it for a second? I thought about using a timer but I'm not sure how I would integrate it with my methods..
would using a background worker pause the script but not the UI itself?
I'm making a game where you're battling an ai and everything works how it should but the ai attacks as soon as you click your spell (it's turn based), is there a way to do something like thread.sleep to pause it for a second? I thought about using a timer but I'm not sure how I would integrate it with my methods..
would using a background worker pause the script but not the UI itself?



