|
Post by frozanwalk on Jun 19, 2015 23:12:58 GMT
I want to apply destroy all enemies effect in my game.
FIRST i get all enemies scripts. and call the function. there I Set the use death Timer true. its work well but when the enemies respawn than It give me this Error
System.Collections.Generic.List`1[DarkTonic.CoreGameKit.LevelSettings+RespawnTimer].RemoveAt (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:538) DarkTonic.CoreGameKit.LevelSettings+<CoUpdate>c__Iterator9.MoveNext () (at Assets/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:631)
I find the Error When Enemies Spawn at same Time than It give me this Error
|
|
|
Post by DarkTonic Dev on Jun 20, 2015 2:18:29 GMT
That doesn't tell me the actual error (first part of the stack trace is missing) - probably something like "Out of index Exception". Can you please upgrade to the latest Core GameKit (so I can get line numbers that are the same as my version) and get that full stack trace to me?
Or you can send me a small example project that reproduces the error.
By the way, which function are you calling on what script? Let's see the code you wrote please so I can know more.
|
|