private float GetTemperature()
    {
        float temperature = Climate.GetTemperature(base.transform.position);

        if (this.PlacedInPlanter() && temperature < 10f)
        {
            temperature = 10f;
        }
        return(temperature);
    }
Esempio n. 2
0
    private float GetTemperature()
    {
        float num = Climate.GetTemperature(((Component)this).get_transform().get_position());

        if (this.PlacedInPlanter() && (double)num < 10.0)
        {
            num = 10f;
        }
        return(num);
    }