Hi!
I have this piece of code (simplified version)
I’m running Unity 2.5 version and NOT deveoping for iphone!
public class MyList<T>
{
T[] data;
public MyList(int count)
{
data = new T[count];
}
}
The unity editor keeps sending this warning
Couldn't load the script "MyList" because its file name doesn't match the class name.
Please make sure the file name of the script is the same as the class defined inside it.
Anyone have any idea why the is creating this warning? As the use of generic typing is C# 2.0…
Thanks!