A ked chces robit C# scripty pre Unity3D tak si precitas nieco o robeni scriptov v C# pre unity3d (zadas si tie slova do www.google.com), napr. tu to je uplne zretelne jak by to malo vypadat
http://docs.unity3d.com/Documentation/ScriptRefere nce/index.Writing_Scripts_in_Csharp_26_Boo.html
vidis tam to slovo IEnumerator pred funkciou?