I write Queue<GameObject> pool in C# code,The wrong message is Assets/CSScript/ObjectPool.cs(18,9): error CS0308: The non-generic type `System.Collections.Queue' cannot be used with the type arguments,How can I use Queue in C#?
PS:I write same code In Unity 2.6 is right,but in Unity iPhone 1.7 is wrong!!!Help!!
Also in Unity iPhone 1.7 many Generics are not supported.
You get access to List and Dictionary, however some of the Generics are JIT compiled and not available with the 1.7 version of Monotouch. This means it is very possible that Queue is not available on Unity iPhone 1.7.