コード例 #1
0
    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
                );
        }
    }
コード例 #2
0
ファイル: EgoSystem12.cs プロジェクト: ctxdegithub/EgoCS
 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);
     }
 }
コード例 #3
0
 protected void ForEachGameObject(ForEachGameObjectDelegate callback)
 {
     foreach (var bundle in _bundles.Values)
     {
         callback(bundle.egoComponent, bundle.component1);
     }
 }
コード例 #4
0
ファイル: HConstraint1.cs プロジェクト: huang8603543/ICE
        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);
            }
        }
コード例 #5
0
    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
                );
        }
    }