public static void DrawListBox(CLRScriptBase script, List<IListBoxItem> resource)
{
// TODO: Remove the last frame of the 'thinking' animation.
if(resource != null)
{
foreach (IListBoxItem item in resource)
{
script.AddListBoxRow(script.OBJECT_SELF, "SCREEN_DMC_CREATOR", "LISTBOX_ACR_CREATOR", item.RowName, item.TextFields, item.Icon, item.Variables, "unhide");
}
}
}
}