Fix Cleaning_workshop for multiple Mugs

This commit is contained in:
Antoine H 2021-01-13 16:03:20 +01:00
parent e2a9931788
commit 8c2c988c70
4 changed files with 82 additions and 9 deletions

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
//Define the behavior of a workshop
//TODO : Only stock Component instead of GameObject in currentMug ?
[RequireComponent(typeof(Collider2D))]
public abstract class Workshop : MonoBehaviour, IUsable
{