[SOLVED] void doSave(List<classInst> tObject) //possib

public void doSave(List<classInst> tObject){
...
}

I’m trying to call this but I am getting an error: ‘List 1’ could not be found.

Is there a problem with the way I’m calling this or do I have to use an array instead?
The class that contains it is not inheriting from any other class (mono or object).
Thanks.

At the start of your script, you need to add:
using System.Collections.Generic;

Thanks Tom! I just came to the same conclusion, I had it in the class definiton file but not the calling class. Doh!