Ejemplo n.º 1
0
 private void InitConfigData()
 {
     if (Config.CommandExists("EditorViewportBackgroundColor"))
     {
         viewportBackgroundColor = Config.GetConfigColor("EditorViewportBackgroundColor");
     }
     else
     {
         viewportBackgroundColor = new SFML.Graphics.Color(36, 36, 36);
         //Save settings to config state
         Config.SetData("EditorViewportBackgroundColor", viewportBackgroundColor.ToString()); //Save the background color
     }
 }