mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-25 08:22:15 +00:00
Particles data driven (#388)
* yay, a start on data driven particles * added data driven support for all particle profiles * pretty much finished all of the particle serialization code * resolved an inconsistency with the interpolators
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.Xna.Framework.Content;
|
||||
using MonoGame.Extended.BitmapFonts;
|
||||
using MonoGame.Extended.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace MonoGame.Extended.Gui.Serialization
|
||||
{
|
||||
@@ -23,7 +19,7 @@ namespace MonoGame.Extended.Gui.Serialization
|
||||
Converters.Add(new GuiTextureAtlasJsonConverter(contentManager, textureRegionService));
|
||||
Converters.Add(new GuiNinePatchRegion2DJsonConverter(textureRegionService));
|
||||
Converters.Add(new TextureRegion2DJsonConverter(textureRegionService));
|
||||
ContractResolver = new GuiJsonContractResolver();
|
||||
ContractResolver = new ShortNameJsonContractResolver();
|
||||
Formatting = Formatting.Indented;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user