Forge/Integration/BaseContainer.cs
/// <summary>
/// Initializes renderers for any data that is currently contained within the given entity.
/// </summary>
/// <param name="containingObject">The GameObject that contains the BaseContainer for the
/// entity.</param>
/// <param name="entity">The entity to select data from.</param>
Initializes renderers for any data that is currently contained within the given entity.
Initializes renderers for any data that is currently contained within the given entity .
protected static void InitializeRenderers(GameObject containingObject, IQueryableEntity entity) {
            ICollection<DataAccessor> entityData = entity.SelectData();
            foreach (DataAccessor accessor in entityData) {
                DataRegistry.TryAddRenderer(accessor, containingObject, entity);
            }
        }
protected static void InitializeRenderers ( GameObject containingObject , IQueryableEntity entity ) { ICollection < DataAccessor > entityData = entity . SelectData ( ) ; foreach ( DataAccessor accessor in entityData ) { DataRegistry . TryAddRenderer ( accessor , containingObject , entity ) ; } }
Initializes renderers for any data that is currently contained within the given entity.
Initializes renderers for any data that is currently contained within the given entity .
containingObject
GameObject
The GameObject that contains the BaseContainer for the
entity.
The GameObject that contains the BaseContainer for the entity .
entity
IQueryableEntity
The entity to select data from.
The entity to select data from .