public static void CreateInstance() { instance = new MaterialDefinitionManager(); StringReader stringReader = new StringReader(Properties.Resources.materials_3); instance.loadFromStringReader(stringReader); }