// LIGHT
 public void Serialize(EntityPropsLight entity_props, JObject root)
 {
     root["angle"]     = entity_props.angle.ToString();
     root["range"]     = entity_props.range.ToString();
     root["intensity"] = entity_props.intensity.ToString();
     root["shadows"]   = entity_props.shadows.ToString();
     root["c_hue"]     = entity_props.c_hue.ToString();
     root["c_sat"]     = entity_props.c_sat.ToString();
     root["c_bri"]     = entity_props.c_bri.ToString();
 }
        public void Deserialize(EntityPropsLight entity_props, JObject root)
        {
            entity_props.angle     = root["angle"].GetFloat();
            entity_props.range     = root["range"].GetFloat();
            entity_props.intensity = root["intensity"].GetFloat();
            entity_props.shadows   = root["shadows"].GetBool();
            entity_props.c_hue     = root["c_hue"].GetFloat();
            entity_props.c_sat     = root["c_sat"].GetFloat();
            entity_props.c_bri     = root["c_bri"].GetFloat();

#if OVERLOAD_LEVEL_EDITOR
            entity_props.UpdateColor();
#endif
        }