public static void InitToolbar(MyToolbarType type, MyObjectBuilder_Toolbar builder)
 {
     if (builder != null)
     {
         Debug.Assert(type == builder.ToolbarType, string.Format("Toolbar type mismatch during init. {0} != {1}", type, builder.ToolbarType));
         if (builder.ToolbarType != type)
             builder.ToolbarType = type;
     }
     m_instance.m_currentToolbar.Init(builder, null, true);
 }
 public static void InitCharacterToolbar(MyObjectBuilder_Toolbar characterToolbar)
 {
     m_instance.m_universalCharacterToolbar.Init(characterToolbar, null, true);
 }