IEnumerator <GoObject> IEnumerable <GoObject> .GetEnumerator() { GoLayerEnumerator goLayerEnumerator = this; goLayerEnumerator.Reset(); return(goLayerEnumerator); }
/// <summary> /// Gets an enumerator for iterating over the GoObjects in this layer. /// </summary> public GoLayerEnumerator GetEnumerator() { GoLayerEnumerator result = this; result.Reset(); return(result); }
IEnumerator IEnumerable.GetEnumerator() { GoLayerEnumerator goLayerEnumerator = this; goLayerEnumerator.Reset(); return(goLayerEnumerator); }