Forge/Integration/TemplateContainer.cs
/// <summary>
/// Creates the container game objects used for a nice editing experience for the level.
/// </summary>
/// <param name="templates">The templates to create containers for.</param>
/// <param name="parent">The GameObject that will be the parent of all of the
/// templates.</param>
Creates the container game objects used for a nice editing experience for the level.
Creates the container game objects used for a nice editing experience for the level .
public static void CreateContainers(ITemplateGroup templates, GameObject parent) {
            foreach (ITemplate template in templates.Templates) {
                TemplateContainer.CreateTemplateContainer(template, parent);
            }
        }
public static void CreateContainers ( ITemplateGroup templates , GameObject parent ) { foreach ( ITemplate template in templates . Templates ) { TemplateContainer . CreateTemplateContainer ( template , parent ) ; } }
Creates the container game objects used for a nice editing experience for the level.
Creates the container game objects used for a nice editing experience for the level .
templates
ITemplateGroup
The templates to create containers for.
The templates to create containers for .
parent
GameObject
The GameObject that will be the parent of all of the
templates.
The GameObject that will be the parent of all of the templates .