So I have this set of variables:
var knowsCopMoves01 = new List.<ScriptStep>();
var knowsCopMoves01_repeat01 = new List.<ScriptStep>();
var knowsCopMoves01_repeat02 = new List.<ScriptStep>();
var knowsCopMoves01_repeat03 = new List.<ScriptStep>();
and I want to add them all to a new List.
var allScriptsList = new List.<List.<ScriptStep> >();
The problem is dynamically adding all these variables to this new List, this is what I wrote that I thought would work:
for (var script : List.<ScriptStep> in GetComponent(Dialog_Manager)){
allScriptsList.Add(script);
}
But I always get this error when I start the game :
ApplicationException: Argument is not enumerable (does not implement System.Collections.IEnumerable).
Boo.Lang.Runtime.RuntimeServices.GetEnumerable (System.Object enumerable)