Quantcast
Channel: Questions in topic: "enumerable"
Browsing all 14 articles
Browse latest View live

Enumerators in Boo

Hi, I'm trying to create a simple enumerator in boo. Unity returns the following. Ambiguous reference 'GetEnumerator': Lister.GetEnumerator(), Lister.GetEnumerator() This is working code, according to...

View Article



Iterating through children of transform: is there an order guarantee?

If I iterate through the children of a transform with a foreach loop, is there any guarantee for the order in which the children are enumerated? E.g. if I set up a test scene with the following...

View Article

for(...in...) causing problems

I'm trying to iron out some errors, and I admit I maybe a little too tired at the moment, but here's the thing. i am trying to iterate through a set of objects, move each one, and create a new one at...

View Article

problem with enumerables in loop !

My for in loop is causing Application Exception: Argument is not enumerable (does not implement System.Collections.IEnumerable). I'm going through a class of floats with for in loop like so: class...

View Article

Put an enumerable inside another enumerable (js)

I ran across a situation where I needed a list of lists, for lack of a better term. Basically I'm looking for a way to have an enumerable as an option inside another enumerable. To put it another way,...

View Article


C#: How to change every object in an Enumerable with one function.

I'm trying to make a short cooldown effect every spell whenever any of the spells is cast. SpellDefinition is the type and AllSpells is the name of the Enumerable, the code for "FindByName" works fine...

View Article

Can not access sub objects

I can't seem to access sub objects of an array of objects. I've tried the suggestions in the Answers, but I still keep getting error messages. One says that things are "not a member of Object". The...

View Article

Enumerators in Boo

Hi, I'm trying to create a simple enumerator in boo. Unity returns the following. Ambiguous reference 'GetEnumerator': Lister.GetEnumerator(), Lister.GetEnumerator() This is working code, according to...

View Article


Iterating through children of transform: is there an order guarantee?

If I iterate through the children of a transform with a foreach loop, is there any guarantee for the order in which the children are enumerated? E.g. if I set up a test scene with the following...

View Article


for(...in...) causing problems

I'm trying to iron out some errors, and I admit I maybe a little too tired at the moment, but here's the thing. i am trying to iterate through a set of objects, move each one, and create a new one at...

View Article

problem with enumerables in loop !

My for in loop is causing Application Exception: Argument is not enumerable (does not implement System.Collections.IEnumerable). I'm going through a class of floats with for in loop like so: class...

View Article

Put an enumerable inside another enumerable (js)

I ran across a situation where I needed a list of lists, for lack of a better term. Basically I'm looking for a way to have an enumerable as an option inside another enumerable. To put it another way,...

View Article

C#: How to change every object in an Enumerable with one function.

I'm trying to make a short cooldown effect every spell whenever any of the spells is cast. SpellDefinition is the type and AllSpells is the name of the Enumerable, the code for "FindByName" works fine...

View Article


Can not access sub objects

I can't seem to access sub objects of an array of objects. I've tried the suggestions in the Answers, but I still keep getting error messages. One says that things are "not a member of Object". The...

View Article
Browsing all 14 articles
Browse latest View live




Latest Images