Esempio n. 1
0
    void PerformAction()
    {
        Action action = toDoList.Peek();

        action.completion += Time.deltaTime;
        if (action.completion >= action.completionTime)
        {
            GM.ActionEffect(action, this);
            toDoList.Dequeue();
        }
    }