public void ForEachGameObject(ForEachGameObjectDelegate callback) { var lookup = GetLookup(rootBundles); foreach (var kvp in lookup) { currentEgoComponent = kvp.Key; var bundle = kvp.Value as EgoBundle <C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12>; callback( currentEgoComponent, bundle.component1, bundle.component2, bundle.component3, bundle.component4, bundle.component5, bundle.component6, bundle.component7, bundle.component8, bundle.component9, bundle.component10, bundle.component11, bundle.component12 ); } }
protected void ForEachGameObject(ForEachGameObjectDelegate callback) { foreach (var bundle in _bundles.Values) { callback(bundle.egoComponent, bundle.component1, bundle.component2, bundle.component3, bundle.component4, bundle.component5, bundle.component6, bundle.component7, bundle.component8, bundle.component9, bundle.component10, bundle.component11, bundle.component12); } }
protected void ForEachGameObject(ForEachGameObjectDelegate callback) { foreach (var bundle in _bundles.Values) { callback(bundle.egoComponent, bundle.component1); } }
public void ForEachGameObject(ForEachGameObjectDelegate callback) { var lookup = GetLookup(rootBundles); foreach (var kvp in lookup) { currentHActor = kvp.Key; var bundle = kvp.Value as HBundle <C1>; callback(currentHActor, bundle.component1); } }
public void ForEachGameObject(ForEachGameObjectDelegate callback) { var lookup = GetLookup(rootBundles); foreach (var kvp in lookup) { currentEgoComponent = kvp.Key; var bundle = kvp.Value as EgoBundle <C1, C2>; callback( currentEgoComponent, bundle.component1, bundle.component2 ); } }