public override void ModifyInterfaceLayers(List <GameInterfaceLayer> layers) { for (int k = 0; k < UILoader.UIStates.Count; k++) { var state = UILoader.UIStates[k]; UILoader.AddLayer(layers, UILoader.UserInterfaces[k], state, state.InsertionIndex(layers), state.Visible, state.Scale); } }