void ComponentParticleSystem::RandomValue::Save(const char* name, Config& config) const { Config section = config.AddSection(name); section.AddBool("random", random); if(random) { section.AddFloat("init", range[0]); section.AddFloat("end", range[1]); } else { section.AddFloat("value", range[0]); } }