SSTUTools.SSTUEngineLayout.getAllLayouts C# (CSharp) Method

getAllLayouts() public static method

public static getAllLayouts ( ) : SSTUTools.SSTUEngineLayout[]
return SSTUTools.SSTUEngineLayout[]
        public static SSTUEngineLayout[] getAllLayouts()
        {
            ConfigNode[] nodes = GameDatabase.Instance.GetConfigNodes("SSTU_ENGINELAYOUT");
            int len = nodes.Length;
            SSTUEngineLayout[] layouts = new SSTUEngineLayout[len];
            for (int i = 0; i < len; i++)
            {
                layouts[i] = new SSTUEngineLayout(nodes[i]);
            }
            return layouts;
        }