Example #1
0
 public void Save(string effectName)
 {
     if (cfg == null)
     {
         cfg = ConfigElement.GetAll(typeof(EffectConfig));
     }
     ConfigElement.SerialiseSimple(cfg, "effects/" + effectName + ".properties", this);
 }