c# scripting execution with xna (actions take more than 1 frame)
- by user658091
I'm trying to figure out how to implement c# scripting into my game (XNA with C#). I will be using C# as the scripting language.
My question is, how to call functions that take more than 1 frame to finish?
For example:
class UserScript : Script
{
public override void execute(Game game)
{
//script must wait for dialog to be…