示例#1
0
    /// <summary>
    ///
    /// </summary>
    private void LowerFoodAndWater()
    {
        curPlayerWater -= waterDropRate;
        curPlayerFood  -= foodDropRate;

        playerStatsUI.SetWaterAmt(curPlayerWater / playerMaxWater);
        characterUI.SetWater(curPlayerWater);
        playerStatsUI.SetFoodAmt(curPlayerFood / playerMaxFood);
        characterUI.SetFood(curPlayerFood);
    }