private void ResolveReferences()
 {
     if (water < 0f)
     {
         water = WaterLevel.EnumToFloat(waterByKey);
     }
     if (moisture < 0f)
     {
         moisture = MoistureLevel.EnumToFloat(moistureByKey);
     }
     if (dryAt < 0f)
     {
         dryAt = MoistureLevel.ThresholdEnumToFloat(dryAtByKey);
     }
     if (wetAt < 0f)
     {
         wetAt = MoistureLevel.ThresholdEnumToFloat(wetAtByKey);
     }
     if (parchAt < 0f)
     {
         parchAt = FertilityLevel.ThresholdEnumToFloat(parchAtByKey);
     }
     if (enrichAt < 0f)
     {
         enrichAt = FertilityLevel.ThresholdEnumToFloat(enrichAtByKey);
     }
     if (ebbAt < 0f)
     {
         ebbAt = WaterLevel.ThresholdEnumToFloat(ebbAtByKey);
     }
     if (floodAt < 0f)
     {
         floodAt = WaterLevel.ThresholdEnumToFloat(floodAtByKey);
     }
 }
 private void ResolveReferences()
 {
     if (moisture < 0f)
     {
         moisture = MoistureLevel.EnumToFloat(moistureByKey);
     }
     if (water < 0f)
     {
         water = WaterLevel.EnumToFloat(waterByKey);
     }
 }