예제 #1
0
    private void ProcessProduction()
    {
        var power = _energy.Use(productionPower * Time.deltaTime, gameObject);

        _product.AddEnergy(power);
        if (_product.Ready)
        {
            FinishProduction();
        }
    }