Example #1
0
    /// <summary>
    /// This method removes the resources from the warehouse worker and adds them to the warehouseManager.
    /// </summary>
    void DropOffResources()
    {
        warehouseManager.AddResources(resourceCollected);
        //warehouseManager.UpdateResourceCounterTextMesh();

        resourceCollected = 0f;
        UpdateResourceCounterTextMesh();
    }